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 07-06-2002, 06:44 PM   #1
Pipecrew
Master of Gfy.com
 
Pipecrew's Avatar
 
Industry Role:
Join Date: Feb 2002
Posts: 14,885
Php experts or anybody :)

Here is the setup of my directory structure



site1.com
site2.com
site3.com


I have a file that is generated in site1 and I want to display it using an include file statement in site 2


Any Ideas?

I figured it would be

include file "../site1.com/index2.html"

just doesnt work




(edited to fix a typo)

Last edited by Pipecrew; 07-06-2002 at 06:57 PM..
Pipecrew is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 06:55 PM   #2
chodadog
Confirmed User
 
Join Date: Apr 2002
Posts: 9,736
Not sure if that was a typo or not, but shouldn't that be ../site1.com/index2.html ?
chodadog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 06:58 PM   #3
kmanrox
aka K-Man
 
kmanrox's Avatar
 
Industry Role:
Join Date: Oct 2001
Location: The Gutter
Posts: 29,285
i need a php guy to install autogallery sql, pls icq me 1337988
__________________
Crypto HODLr
Crypto mining
Angel investor
kmanrox is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 06:59 PM   #4
Sly_RJ
Live Hard - Die Hard
 
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
You're going to need to call the include file by using the absolute path, not the relative path. I'm also assuming that these are on the same server.
__________________
PHAT SERVERS - Quality dedicated hosting at a quality price!
sly AT phatservers DOT com - 147479144
Sly_RJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 07:10 PM   #5
Pipecrew
Master of Gfy.com
 
Pipecrew's Avatar
 
Industry Role:
Join Date: Feb 2002
Posts: 14,885
Quote:
Originally posted by Sly_RJ
You're going to need to call the include file by using the absolute path, not the relative path. I'm also assuming that these are on the same server.
yes they are, hmm guess i can give it a try! its just they are both at the same position, it would be easier if site2 was included in site1, but i am just not sure how to call backwards, if that makes anysense?
Pipecrew is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 07:11 PM   #6
Pipecrew
Master of Gfy.com
 
Pipecrew's Avatar
 
Industry Role:
Join Date: Feb 2002
Posts: 14,885
Quote:
Originally posted by kmanrox
i need a php guy to install autogallery sql, pls icq me 1337988
Hey Mike503 can install it for you, he has personally edited my version and a few other people to suit our needs for us
Pipecrew is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 07:14 PM   #7
Sly_RJ
Live Hard - Die Hard
 
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
Quote:
Originally posted by Pipecrew


yes they are, hmm guess i can give it a try! its just they are both at the same position, it would be easier if site2 was included in site1, but i am just not sure how to call backwards, if that makes anysense?
147479144
Hit me up.
Sly_RJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 07:32 PM   #8
RK
Confirmed User
 
Join Date: Aug 2001
Location: In a Bunker
Posts: 868
Quote:
Originally posted by Sly_RJ
You're going to need to call the include file by using the absolute path
and make sure the permissions and http server settings will allow it.

if it does not work, msg me and I'll take a look should take no more than a minute
__________________
Does anyone look down here?
RK is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 07:35 PM   #9
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
Quote:
Originally posted by Sly_RJ
You're going to need to call the include file by using the absolute path, not the relative path. I'm also assuming that these are on the same server.
You can call an include by relative path should not make any diffrence
foe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 07:36 PM   #10
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
put a ; at the end of the line
foe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 07:37 PM   #11
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
Quote:
Originally posted by kmanrox
i need a php guy to install autogallery sql, pls icq me 1337988
I can install it for you no prob, takes a second
foe is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 07:38 PM   #12
Sly_RJ
Live Hard - Die Hard
 
Join Date: Feb 2002
Location: Ready to leave...
Posts: 17,042
Quote:
Originally posted by foe


You can call an include by relative path should not make any diffrence
Hmm, well it's working since he changed it.
Sly_RJ is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-06-2002, 07:44 PM   #13
foe
Confirmed User
 
Join Date: May 2002
Location: CT
Posts: 5,246
Quote:
Originally posted by Sly_RJ
You're going to need to call the include file by using the absolute path, not the relative path. I'm also assuming that these are on the same server.
This is not necessary but if you want it to be the absolute path the easy way to find it out is goto the directory of site two and type pwd in shell or telnet
foe 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.