ID:               17806
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Linux
 PHP Version:      4.1.2
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2002-06-17 15:50:59] [EMAIL PROTECTED]

Script is described in the doc as:

'SCRIPT_NAME'
Contains the current script's path. This is useful for pages which need
to point to themselves. 

This is true for the mod_php version. But if you are running php as CGI
(under Apache at least) it isn't true. SCRIPT_NAME then points to the
php bin path, not the script name.

Example (Apache conf):

ScriptAlias /php-engine /web/tools/php
Action x-php-cgi /phh-engine/php

would result in a SCRIPT_NAME of

/php-engine/php



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=17806&edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to