RE: [PHP-DEV] Re: Small CGI Serve

From: Date: Wed, 19 Jun 2002 08:37:50 +0000
Subject: RE: [PHP-DEV] Re: Small CGI Serve
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-85333@lists.php.net to get a copy of this message
> > I have found if you set the environment var "REDIRECT_STATUS" to "FALSE" > then it works > > Someone explain? > > > > Having finally found out how to pass the Environment vars onto PHP, I am > > stumpted to find that PHP wasn't reading them and putting them in their > > place (GET vars). > > > > I tried changing the exe from the php-cli to just php. This > now brings up > a > > security error and I cannot find a solution > > > > Can anyone help? the REDIRECT_STATUS env var is for cgi security, and is a workaround given some webservers don't set it properly. That php wasn't showing env vars sounds to me like a register globals problem, and you having it set to off. -- james

« previous php.dev (#85333) next »