Results 1 to 2 of 2
Apr 11, 2011, 19:07 #1
$_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
Apr 12, 2011, 15:52 #2
- Join Date
- Jul 2009
- 0 Post(s)
- 0 Thread(s)
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 URLCode:
Original version of 'PATH_INFO' before processed by PHP.
Last edited by 3.grosz; Apr 12, 2011 at 15:55. Reason: corr