$_SERVER['PATH_INFO'] and $_SERVER['PORIG_PATH_INFO']

what’s the difference between them? how to use them. i [ICODE]print_r($_SERVER).[/ICODE] there are no result of $_SERVER[‘PATH_INFO’] and $_SERVER[‘PORIG_PATH_INFO’] .why? how to enable it.i have read the php manual about them, but still don’t understand . expect someone can explain them.thank you

See “URI scheme” for more info about the different parts of a URI.

I’m not sure if you can use PATH_INFO to URL rewriting. I read this on: URL rewriting using PATH_INFO | Aspektas Blog

‘PATH_INFO’
Contains any client-provided pathname information trailing the actual script filename but preceding the query string, if available. For instance, if the current script was accessed via the URL

http://www.example.com/php/path_info.php/some/stuff?foo=bar

, then $_SERVER[‘PATH_INFO’] would contain

/some/stuff

‘ORIG_PATH_INFO’
Original version of ‘PATH_INFO’ before processed by PHP.