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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 12-27-2004, 04:23 PM   #1
eiht_98
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?
eiht_98 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-27-2004, 04:35 PM   #2
eiht_98
Confirmed User
 
Join Date: Jan 2001
Location: EU
Posts: 6,103
bump
eiht_98 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-27-2004, 05:04 PM   #3
SpaceAce
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
SpaceAce is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-27-2004, 05:42 PM   #4
Lycanthrope
Confirmed User
 
Lycanthrope's Avatar
 
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"?>
__________________
Lycanthrope is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.