"David" <[EMAIL PROTECTED]> 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 / -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]