All pastes #823383 Raw Edit

Untitled

public text v1 · immutable
·published 2007-12-19 09:49 UTC
rendered paste body
20:10 <atmaniak> ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
20:10 <atmaniak> ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
20:10 <atmaniak> ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
20:10 <atmaniak> ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
20:10 <atmaniak> ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
20:10 <atmaniak> ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.