View Single Post
03-26-2011, 09:19 PM
Join Date: May 2009
I am looking for guidance on how to change the document root setting for a website i have. in my HTDOCS folder in my installation of Apache i have several folders each for a different web project. However when when calling php global variables like $_SERVER['PHP_SELF'] i get a return of /holidaywebsite/index.php when what i want back is /index.php
I assume this is just a case of resetting the root in php? Can i do this in the php.ini file and if so how if, for example, i have my web project in a folder called holidaywebsite?
Thanks in advance for any help.
View Public Profile
Send a private message to captainmerton
Find More Posts by captainmerton