Joined: 27 Mar 2006 Posts: 5 Location: Philadelphia Suburbs
Posted: Thu Dec 28, 2006 4:42 pm Setting include_path in php.ini
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
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