Date: 07/26/98
- Next message: Zeev Suraski: "Re: [PHP-DEV] CVS update: php3"
- Previous message: APIS: "[PHP-DEV] FAIL--CVS 3.0.3 - Classes general test, Classes inheritance test"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: david <email protected>
Operating system: Solaris 2.5.1
PHP version: 3.0.2a
PHP Bug Type: Other
Bug description:
First reported for 3.0-FINAL but still exists in 3.0.2a;
if compiling PHP for CGI use with FORCE_CGI_REDIRECT, the
PHP_SELF variable becomes set to the URL/location of the
PHP binary instead of the script - when used in an anchor
tag (A/HREF), this creates URLs that cannot be selected (as
PHP complains that it was called directly).
PHP_SELF should be set to the script being run (URI), not
the PHP binary in FORCE_CGI_REDIRECT cases.
The hack/fix for 3.0-FINAL was to wrap the current code (in
main.c) within:
#if FORCE_CGI_REDIRECT
/* original code, modified to only append path_info
and not script_name */
#else
/* original code goes here */
#endif
Could this please be wrapped into the CVS so that it's included in 3.0.3??
- Next message: Zeev Suraski: "Re: [PHP-DEV] CVS update: php3"
- Previous message: APIS: "[PHP-DEV] FAIL--CVS 3.0.3 - Classes general test, Classes inheritance test"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

