Re: Re: Small CGI Serve

From: Date: Wed, 19 Jun 2002 08:40:29 +0000
Subject: Re: Re: Small CGI Serve
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-85334@lists.php.net to get a copy of this message
Get vars are working now! Just gotta do post and i'm virtually done! Anyone got a guide? "James Cox" <imajes@php.net> wrote in message news:MMEPJPGPACDMPGEEKFMKMEAJHEAA.imajes@php.net... > > > > 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 (#85334) next »