#29725 [Opn->Bgs]: variable $HTTP_SERVER_VARS['PHP_SELF'] does not exist or it's clear
| From: | derick@php.net | Date: | Wed, 18 Aug 2004 06:21:25 +0000 |
| Subject: | #29725 [Opn->Bgs]: variable $HTTP_SERVER_VARS['PHP_SELF'] does not exist or it's clear | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64816@lists.php.net to get a copy of this message | ||
ID: 29725
Updated by: derick@php.net
Reported By: mex at localnet dot sk
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Windows XP SP1a
PHP Version: 5.0.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
It depends on the webserver whether it is set or not, not really much
something that PHP can do about.
To: scottmacvicar at ntlworld dot com, don't update the bugreports with
quickfixes if you don't know what you're talking about.
Previous Comments:
------------------------------------------------------------------------
[2004-08-18 01:28:00] mex at localnet dot sk
ok, but reference is the same for php 4 and php 5, without any notice
about "register_long_arrays = On".
------------------------------------------------------------------------
[2004-08-18 00:57:32] scottmacvicar at ntlworld dot com
Sorry, but your problem does not imply a bug in PHP itself. For a list
of more appropriate places to ask for help using PHP, please visit
http://www.php.net/support.php as this bug system is
not the
appropriate forum for asking support questions.
Check your php.ini and make sure you register the old-style
vars, this was a change made for PHP 5.
register_long_arrays = On
------------------------------------------------------------------------
[2004-08-18 00:53:39] mex at localnet dot sk
Description:
------------
variable $HTTP_SERVER_VARS['PHP_SELF'] does not exist or it's clear
Reproduce code:
---------------
on windows xp sp1a I get clear page:
<?php
echo $HTTP_SERVER_VARS['PHP_SELF'];
?>
on freebsd 5.2-cvs i get right reply
Expected result:
----------------
variable may be filled with relative path to actual script
Actual result:
--------------
variable is clear (or null?)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29725&edit=1