$PHP_SELF incorrect contents
| From: | Tony Bailey | Date: | Wed, 03 Oct 2001 10:05:59 +0000 |
| Subject: | $PHP_SELF incorrect contents | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9660@lists.php.net to get a copy of this message | ||
Running PHP 3.0.16 under Win2k and am having a problem with $PHP_SELF I've never seen before.
As an example, the correct path for the current page (as shown by $SCRIPT_PATH) is:
/calls
the full current page is:
/calls/index.php
but if I use $PHP_SELF within that page it returns (ie. if used as an href within the page itself)
/calls/index.php/calls
Which means of course that I'm having big trouble navigating anywhere!
Server is Xitami - all was okay under Win98 in past.
Anyone any ideas?
I tried PHP4.0.6 but all's I get are blank pages returned (PHP.EXE is def being loaded when
called and straight
HTML is returned okay) but that's another problem. I've seen this reported before but no
solutions I can find.
Tony