#29725 [Com]: variable $HTTP_SERVER_VARS['PHP_SELF'] does not exist or it's clear

From: Date: Tue, 17 Aug 2004 22:57:33 +0000
Subject: #29725 [Com]: 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-64808@lists.php.net to get a copy of this message
ID: 29725 Comment by: scottmacvicar at ntlworld dot com Reported By: mex at localnet dot sk Status: Open 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. 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#64808) next »