ID:               29317
 Updated by:       [EMAIL PROTECTED]
 Reported By:      incitist at msn dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Scripting Engine problem
 Operating System: Windows XP
 PHP Version:      5.0.0
 New Comment:

PATH_INFO is not supported by all web servers.


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

[2004-07-26 15:19:18] cysgwr_eryri at yahoo dot co dot uk

PATH_INFO only exists "beyond" the script concerned. Your script is not
showing any info because you have no path.

Try typing the follwing url into your browser:

http://whatever.your.host.is/test.html/blah/bling/blee

You will see that the $_SERVER['PATH_INFO'] consists of:

"/blah/bling/blee" and nothing else.

To get the whole path string, use $_SERVER['REQUEST_URI'] instead.

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

[2004-07-22 11:06:16] incitist at msn dot com

Description:
------------
I'm using Aprelium's Abyss Web Server and PHP 5.
When I try to open a url like script.php/test.html
$PATH_INFO is not set, irregardless of whether register globals is set
on or off.

Reproduce code:
---------------
<?php
        header("Content-type: text/html");
        if (isset($PATH_INFO)) print("$PATH_INFO");
        else print("Not set");
?>

Expected result:
----------------
/test.html

Actual result:
--------------
Not set


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


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

Reply via email to