#26868 [Bgs]: PATH_TRANSLATED not set
| From: | moriyoshi@php.net | Date: | Mon, 12 Jan 2004 02:52:26 +0000 |
| Subject: | #26868 [Bgs]: PATH_TRANSLATED not set | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53153@lists.php.net to get a copy of this message | ||
ID: 26868
Updated by: moriyoshi@php.net
Reported By: xuefer at 21cn dot com
Status: Bogus
Bug Type: Apache2 related
Operating System: winxp
PHP Version: 5CVS-2004-01-11 (dev)
New Comment:
Dupe of bug #23610.
Previous Comments:
------------------------------------------------------------------------
[2004-01-11 08:36:30] sniper@php.net
If Apache doesn't set it, it won't be set in PHP. Not PHP bug.
------------------------------------------------------------------------
[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