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['PORIGPATH_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
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
, then $SERVER['PATHINFO'] would contain
Original version of 'PATH_INFO' before processed by PHP.