![]() |
![]() |
![]() |
||||
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 |
No Refunds Issued.
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
|
Having problems with #include file="..."
it works only from the same directory - like if i put ads.html in www.site.com/dir1/
but i want it to work from root - like put ads.html in www.site.com/ any ideas why it wont work from root ? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Oct 2003
Location: Apollo Beach, FL
Posts: 128
|
It would help to know what language you are trying to use this with...
![]()
__________________
![]() Programming/System Admin/Security ICQ 2 2 2 1 9 2 2 1 0 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Apr 2001
Posts: 2,842
|
SSI includes right?
Can you type out exactly how you're coding it, and where the files are respectively to each other |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
No Refunds Issued.
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
|
Quote:
It works like this: <1--#include file="ads.html" --> But doesnt work like this: <1--#include file="../dir/ads.html" --> or like this: <1--#include file="www.site.com/dir/ads.html" --> |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Join Date: Apr 2001
Posts: 2,842
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Aug 2001
Posts: 1,006
|
use include virtual instead of include file
__________________
Spank me ![]() Dude, where's my traffic? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Industry Role:
Join Date: Jul 2003
Posts: 3,108
|
Quote:
ie, <!--#include virtual="../ads.html" -->
__________________
"Think about it a little more and you'll agree with me, because you're smart and I'm right." - Charlie Munger |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
No Refunds Issued.
Industry Role:
Join Date: Feb 2001
Location: GFY
Posts: 28,300
|
thanks guys, it worked
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Feb 2004
Location: If i was up your ass you'd know
Posts: 3,695
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |