php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24979 $PHP_SELF not determined
Submitted: 2003-08-08 01:11 UTC Modified: 2003-08-08 03:44 UTC
From: sgerrand at mac dot com Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.3.2 OS: Mac OS X/10.2.6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sgerrand at mac dot com
New email:
PHP Version: OS:

 

 [2003-08-08 01:11 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-08 03:44 UTC] sniper@php.net
Works fine with latest stable CVS (and PHP 4.3.3RC3)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC