Re: Re: Small CGI Serve
| From: | BB | Date: | Tue, 25 Jun 2002 09:17:55 +0000 |
| Subject: | Re: Re: Small CGI Serve | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85566@lists.php.net to get a copy of this message | ||
Does no-one know how I can get the POST vars in there?
If I get this done, then my server will be complete and ready to be
re-written to be half decent :oP
"Bb" <ben@themidwestgroup.com> wrote in message
news:20020619084109.24680.qmail@pb1.pair.com...
> 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
> >
>
>