From:             mex at localnet dot sk
Operating system: Windows XP SP1a
PHP version:      5.0.1
PHP Bug Type:     Scripting Engine problem
Bug description:  variable $HTTP_SERVER_VARS['PHP_SELF'] does not exist or it's clear

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 bug report at http://bugs.php.net/?id=29725&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29725&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29725&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29725&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29725&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29725&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29725&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29725&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29725&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29725&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29725&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29725&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29725&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29725&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29725&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29725&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29725&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29725&r=float

Reply via email to