HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Setting include_path in php.ini
Post new topic   Reply to topic    HTML Help Forum Index -> PHP
View previous topic :: View next topic  
Author Message
rkstevens



Joined: 27 Mar 2006
Posts: 5
Location: Philadelphia Suburbs

PostPosted: Thu Dec 28, 2006 4:42 pm     Setting include_path in php.ini Reply with quote

I have several sites, hosted on a VPS account with several domains. I would like to have my include path set so that it will look in the domain root folder for each domain for whatever site the user is in. So:
include ("include.php");
executed from a page anywhere on site1.com will look for the file site1.com/include.php; and if executed from a page anywhere on site2.com will look for the file site2.com/include.php.
I am not sure how (or if) this can be done, but would like to be able to set this from either a .htaccess file or the php.ini file.
Thanks for your help.
Ron
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> PHP All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial