![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Jan 2001
Location: EU
Posts: 6,103
|
help me with directory structure/path
I have this index.php file in the following folder on my server:
public_html/domain/dir1/subdir1/index.php now I have to add this code <!--#include virtual="ttt_toplist/toplistname.html" --> in the index.php file mentioned above the problem is that the toplistname.html file is in the following directory public_html/domain/ttt_toplist/toplistname.html What is the correct path for the code I have to put in the index.php file? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jan 2001
Location: EU
Posts: 6,103
|
bump
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jul 2002
Location: Magrathea
Posts: 6,493
|
If I understand your directory structure properly, you would use:
/ttt_toplist/toplistname.html SpaceAce |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Jan 2004
Location: Wisconsin
Posts: 4,517
|
If your main page is php, f' the path, just save your toplist as toplist.php and all you have to do is: <?php include "http://www.domain.com/your_directory/toplist.php"?>
|
![]() |
![]() ![]() ![]() ![]() ![]() |