www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stodd...@apache.org
Subject Re: os-windows/5240: php3's SCRIPT_NAME, SCRIPT_FILENAME values are different from Unix
Date Fri, 05 Nov 1999 15:34:08 GMT
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]


Synopsis: php3's SCRIPT_NAME, SCRIPT_FILENAME values are different from Unix

State-Changed-From-To: open-closed
State-Changed-By: stoddard
State-Changed-When: Fri Nov  5 07:34:07 PST 1999
State-Changed-Why:
>From Rasmus (PHP God) Lerdorf:
Looks like an IIS bug to me.  Apache is doing the right
thing.  When PHP is running as a CGI script, which is the
only way to run it under NT as of PHP3, the PHP executable
is correctly identified as being the script being
run by mod_cgi.  When PHP is run as an Apache module, 
there is no cgi going on and the PHP script itself is the
script.  People looking to write PHP code that is portable
across the module and cgi versions should be using
$PHP_SELF to determine the current PHP script filename 
being executed.




Mime
View raw message