Date: 06/18/02
- Next message: sniper <email protected>: "[PHP-DOC] Bug #15608 Updated: Missing instruction when installing for apache"
- Previous message: sniper <email protected>: "[PHP-DOC] Bug #14938 Updated: No htmlescape() function for PHP4"
- Next in thread: derick <email protected>: "[PHP-DOC] Bug #15001 Updated: PHP_SELF set incorrectly when there is extra path info"
- Maybe reply: derick <email protected>: "[PHP-DOC] Bug #15001 Updated: PHP_SELF set incorrectly when there is extra path info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 15001
Updated by: sniper <email protected>
Reported By: long <email protected>
Status: Duplicate
-Bug Type: Variables related
+Bug Type: Documentation problem
Operating System: Compaq Tru64 4.0F PK3
PHP Version: 4.0.6
Previous Comments:
------------------------------------------------------------------------
[2002-01-11 15:09:21] sander <email protected>
This is a dupe... and I'm again too lazy to search for the original bug
;)
Anyway, it's known behaviour and so it's a docu-problem.
------------------------------------------------------------------------
[2002-01-11 14:26:10] long <email protected>
The PHP_SELF variable is not set correctly when extra path info is
appended to the URL requested.
Example:
http://www.ku.edu/cgi-bin/phpself.php
shows the correct PHP_SELF variable
while:
http://www.ku.edu/cgi-bin/phpself.php/extra/path/info
shows an incorrect PHP_SELF value.
The contents of phpself.php are:
#!/usr/local/bin/php
<html>
<head>
<title>PHP_SELF test</title>
</head>
<body>
<p>
<?php
echo $PHP_SELF;
?>
</body>
</html>
This php was configured using:
./configure --with-openssl --enable-bcmath --with-ndbm --with-dbm
--enable-dbase --enable-filepro --enable-ftp --enable-gd-imgstrttf
--with-gd --with-ttf --with-java=/usr/opt/java130
--with-ldap=/usr/local/ldap --with-mysql=/usr/local/mysql --with-oci8
--with-oracle --enable-shmop --enable-sockets --enable-sysvsem
--enable-sysvshm --enable-wddx --enable-memory-limit
--enable-dba=shared --enable-calendar --enable-exif --with-msql
--enable-discard-path
------------------------------------------------------------------------
-- Edit this bug report at http://bugs.php.net/?id=15001&edit=1
- Next message: sniper <email protected>: "[PHP-DOC] Bug #15608 Updated: Missing instruction when installing for apache"
- Previous message: sniper <email protected>: "[PHP-DOC] Bug #14938 Updated: No htmlescape() function for PHP4"
- Next in thread: derick <email protected>: "[PHP-DOC] Bug #15001 Updated: PHP_SELF set incorrectly when there is extra path info"
- Maybe reply: derick <email protected>: "[PHP-DOC] Bug #15001 Updated: PHP_SELF set incorrectly when there is extra path info"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

