[Xitami] PHP 4.0.2+ $PHP_SELF empty

John Steele xitami@lists.xitami.org
Tue, 23 Apr 2002 08:41:44 -0700


Hi Shane,

  Thanks for the pointer.  I was hoping more for a solution, or some idea how this could be fixed.  I have *alot* of code using $PHP_SELF, on many different production servers.  This would be a major pain to track down and change.

  Anyone have any experience using ISAPI with the php4isapi.dll, and does this problem then go away?  $PHP_SELF still works with 4.0.2, which is what I am still running locally for development.  Strange.

Thanks,
  John

>John,
>This was discussed only a couple of days ago.  Search back through the archives and
>check it out.  I've found that the variable $SCRIPT_NAME works just the same.  Give
>that a try.
>
>SHANE
>
>--- John Steele <jsteele@steelesoftconsulting.com> wrote:
>> Hello,
>> 
>>   I've tried just about every version of PHP after 4.0.2 with several different
>> versions of Xitami (including the latest) on win95/98/2000 and they all have the
>> same problem.  $PHP_SELF is set, but empty!
>> 
>>   The same versions of the PHP4 binaries work fine under IIS, both as CGI and
>> ISAPI filter.  For now I'm back to 4.0.2, but I'd really like to upgrade and keep
>> my Xitami!
>> 
>> Anyone come across this before?
>>   John

--
/* SteeleSoft Consulting     John Steele - Systems Analyst/Programmer
 *  We also walk dogs...  Dynamic Web Design  PHP/MySQL/Linux/Hosting
 *  www.steelesoftconsulting.com     jsteele@steelesoftconsulting.com
 */