This is pretty strange. When I call something using $PHP_SELF, I don't get the normal page. Instead I get the page loaded into the php/php.exe format. For example, I am trying to use a session for a site I am woking on...the link I use to test it is supposed to "reload" the page. The URL that I have when loading this page is:
http://localhost/trial.php3
<A HREF="<?php echo $PHP_SELF; ?>">this very page</A>
When I click that link, the URL that shows up in the address bar is this:
http://localhost/php/php.exe/trial.php3
What gives? I am using Apache 1.3 (at least) and PHP 4.0.0 for Windows. Anyone have any clues?






Bookmarks