MrSandman666
Programmer
Hello you!
I've been working on my new homepage for a while now and since it is completely based upon PHP, I have to be online in order to test it (write code - upload changes to webhost - look at site - notice stupid mistake - write some more code - upload changes to...). Since Internet access is paid by the minute and rather expensive here in Germany, I decided that I had enough, grabbed my Laptop (which runs Windows ME), downloaded Appache, downloaded PHP, installed that stuff and tried out my homepage. It works fine, except for one thing: There's a mysterious bit of information prepended to my $PHP_SELF variable: "/php/php.exe"
So, instead of "/shadowvault/index.php3", the whole thing now reads "/php/php.exe/shadowvault/index.php3". It technicaly works but it completely messes up the links, since I only use relative links. How can I get rid of this "/php/php.exe" without writing a script to remove this annoying little thing? Did I do something wrong in configuring PHP? Has anyone any idea how to fix this?
Thanks in advance.
I've been working on my new homepage for a while now and since it is completely based upon PHP, I have to be online in order to test it (write code - upload changes to webhost - look at site - notice stupid mistake - write some more code - upload changes to...). Since Internet access is paid by the minute and rather expensive here in Germany, I decided that I had enough, grabbed my Laptop (which runs Windows ME), downloaded Appache, downloaded PHP, installed that stuff and tried out my homepage. It works fine, except for one thing: There's a mysterious bit of information prepended to my $PHP_SELF variable: "/php/php.exe"
So, instead of "/shadowvault/index.php3", the whole thing now reads "/php/php.exe/shadowvault/index.php3". It technicaly works but it completely messes up the links, since I only use relative links. How can I get rid of this "/php/php.exe" without writing a script to remove this annoying little thing? Did I do something wrong in configuring PHP? Has anyone any idea how to fix this?
Thanks in advance.