Re: $PHP_SELF
| From: | Steve Yates | Date: | Sat, 05 Jan 2002 07:31:03 +0000 |
| Subject: | Re: $PHP_SELF | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11312@lists.php.net to get a copy of this message | ||
"David" <php@warpedweb.net> wrote:
> Gregory Hart said something on 05 Jan 2002, in php.windows:
> > I understand that the variable $PHP_SELF doesn't always work.
I'm
> > using Windows 98 SE with PHP 4.1.1. Is there any way to get
I think I have seen $PHP_SELF not work on PWS...is that what you
have? You might try $PATH_INFO or $SCRIPT_URL.
> $SCRIPT_NAME usually works for me on most servers.
I think this returns the program or CGI name. At least is does on
the versions of Apache that I've tried.
- Steve Yates
- SRT Enterprises
- I have a dream: DIR C: 965465065464984030373436 bytes free...
/ Taglines by Taglinator - www.srtware.com /