#26868 [Opn->Bgs]: PATH_TRANSLATED not set
| From: | sniper@php.net | Date: | Sun, 11 Jan 2004 13:36:31 +0000 |
| Subject: | #26868 [Opn->Bgs]: PATH_TRANSLATED not set | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53110@lists.php.net to get a copy of this message | ||
ID: 26868
Updated by: sniper@php.net
Reported By: xuefer at 21cn dot com
-Status: Open
+Status: Bogus
Bug Type: Apache2 related
Operating System: winxp
PHP Version: 5CVS-2004-01-11 (dev)
New Comment:
If Apache doesn't set it, it won't be set in PHP. Not PHP bug.
Previous Comments:
------------------------------------------------------------------------
[2004-01-11 01:13:47] xuefer at 21cn dot com
Description:
------------
apache2.0.18
LoadModule php5_module C:/php5/php5apache2.dll
AddType application/x-httpd-php .php
Reproduce code:
---------------
<?php
echo $_SERVER['PATH_TRANSLATED'];
?>
Expected result:
----------------
echo the correct path
Actual result:
--------------
Notice: Undefined index: PATH_TRANSLATED in **.php on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26868&edit=1