ID:               47385
 Updated by:       j...@php.net
 Reported By:      ivan_ma at telecable dot es
-Status:           Open
+Status:           Feedback
 Bug Type:         Other web server
 Operating System: GNU/Linux
 PHP Version:      5.3.0beta1
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




Previous Comments:
------------------------------------------------------------------------

[2009-02-14 12:02:21] ivan_ma at telecable dot es

Description:
------------
There is a problem with $_SERVER["PATH_INFO"] using PHP as a thttpd
SAPI module, it is always "/"

URL: http://dreambox:81/foro/info.php

_SERVER["PHP_SELF"]             /foro/info.php
_SERVER["REQUEST_URI"]          /foro/info.php
_SERVER["PATH_TRANSLATED"]      /hdd/www/foro/info.php
_SERVER["SCRIPT_NAME"]          /foro/info.php
_SERVER["PATH_INFO"]            /

Reproduce code:
---------------
<?php
  print($_SERVER['PATH_INFO']);
?>

Expected result:
----------------
A correct PATH_INFO

Actual result:
--------------
PATH_INFO is set to "/" always.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47385&edit=1

Reply via email to