php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26868 PATH_TRANSLATED not set
Submitted: 2004-01-11 01:13 UTC Modified: 2004-01-11 21:52 UTC
From: xuefer at 21cn dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5CVS-2004-01-11 (dev) OS: winxp
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xuefer at 21cn dot com
New email:
PHP Version: OS:

 

 [2004-01-11 01:13 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-11 08:36 UTC] sniper@php.net
If Apache doesn't set it, it won't be set in PHP. Not PHP bug.

 [2004-01-11 21:52 UTC] moriyoshi@php.net
Dupe of bug #23610.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 16:01:28 2024 UTC