faqts : Computers : Programming : Languages : PHP : Common Problems

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

10 of 27 people (37%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

Why isn't PATH_INFO working?
When is data available in PATH_INFO?

Jul 20th, 2004 01:02
Jens Clasen, Alder Rus, Nathan Wallace,


PATH_INFO is only passed when there is some info.

 http://yourserver.com/your/script/path/info

should set PATH_INFO to "/path/info".

cf. the CGI "spec":

 http://hoohoo.ncsa.uiuc.edu/cgi/

or, if you're into such things, the Draft RFC:

 http://Web.Golux.Com/coar/cgi/
 http://Web.Golux.Com/coar/cgi/draft-coar-cgi-v11-03-clean.html#6.1.6