#24979 [Opn->Csd]: $PHP_SELF not determined
| From: | sniper@php.net | Date: | Fri, 08 Aug 2003 08:44:08 +0000 |
| Subject: | #24979 [Opn->Csd]: $PHP_SELF not determined | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45555@lists.php.net to get a copy of this message | ||
ID: 24979
Updated by: sniper@php.net
Reported By: sgerrand at mac dot com
-Status: Open
+Status: Closed
Bug Type: PHP options/info functions
Operating System: Mac OS X/10.2.6
PHP Version: 4.3.2
New Comment:
Works fine with latest stable CVS (and PHP 4.3.3RC3)
Previous Comments:
------------------------------------------------------------------------
[2003-08-08 01:11:40] sgerrand at mac dot com
Description:
------------
Configure Command
'./configure' '--prefix=/usr/local/php' '--with-
config-file-path=/usr/local/php/lib' '--with-apxs' '--
with-iconv=/usr/local/php' '--with-openssl=/usr' '--
with-zlib=/usr' '--with-mysql' '--with-pgsql=/Users/
marc/entropy-cvs/php-module/build/postgresql-build' '--
with-gd' '--with-png-dir=/usr/local/php' '--with-
freetype-dir=/usr/local/php' '--with-t1lib=/usr/local/
php' '--with-jpeg-dir=/usr/local/php' '--with-tiff-
dir=/usr/local/php' '--with-curl=/usr/local/php' '--
with-mcal=/usr/local/php' '--with-mcrypt=/usr/local/
php' '--with-mhash=/usr/local/php' '--with-mcve=/usr/
local/php' '--with-pdflib=/usr/local/php' '--with-
imap=../imap-2002d' '--with-imap-ssl=/usr' '--with-
expat-dir=/usr/local/php' '--with-gettext=/usr/local/
php' '--with-dom=/usr/local/php' '--with-dom-xslt=/usr/
local/php' '--with-dom-exslt=/usr/local/php' '--with-
ldap' '--with-xmlrpc' '--with-xml' '--with-iodbc' '--
with-xslt-sablot=/usr/local/php' '--enable-xslt' '--
enable-sockets' '--enable-dbx' '--enable-dbase' '--
enable-trans-sid' '--enable-exif' '--enable-wddx' '--
enable-ftp' '--enable-mbstring
Reproduce code:
---------------
<?php echo $PHP_SELF; ?>
Expected result:
----------------
output of the script's current location
or the equivalent of
<?php echo $_SERVER[PHP_SELF]; ?>
Actual result:
--------------
NULL
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24979&edit=1