Re: [PHP] php as CGI and $_POST

2004-06-05 Thread Peter Risdon
David T-G wrote: Peter -- ...and then Peter Risdon said... % % David T-G wrote: % % > bash-2.05a$ /usr/local/bin/php -v % > PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52) % % You probably need the cgi version - not the command line one you % actually have. Ooohhh... Ouch. So there are

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % > % > bash-2.05a$ /usr/local/bin/php -v % > PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52) % % that cli should be cgi. % % I'm assuming you compiled php with something like: %configure --wit

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): > Peter -- > > ...and then Peter Risdon said... > % > % David T-G wrote: > % > % > bash-2.05a$ /usr/local/bin/php -v > % > PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52) > % > % You probably need the cgi version - not the command line one you > % actu

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread David T-G
Peter -- ...and then Peter Risdon said... % % David T-G wrote: % % > bash-2.05a$ /usr/local/bin/php -v % > PHP 4.3.4 (cli) (built: Jan 6 2004 15:27:52) % % You probably need the cgi version - not the command line one you % actually have. Ooohhh... Ouch. So there are *three* possibl

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): > Curt, et al -- > > ...and then Curt Zirzow said... > % > % * Thus wrote David T-G ([EMAIL PROTECTED]): > % > > % > My code is as simple as > % > > % > #!/usr/local/bin/php > % > % What does '/usr/local/bin/php -v' show? > > Doesn't seem to scary

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread Peter Risdon
David T-G wrote: Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % > % > My code is as simple as % > % > #!/usr/local/bin/php % % What does '/usr/local/bin/php -v' show? Doesn't seem to scary to me: bash-2.05a$ /usr/local/bin/php -v PHP 4.3.4

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % * Thus wrote David T-G ([EMAIL PROTECTED]): % > % > My code is as simple as % > % > #!/usr/local/bin/php % % What does '/usr/local/bin/php -v' show? Doesn't seem to scary to me: bash-2.05a$ /usr/local/bin/php -v PHP 4.3.4 (cli) (built:

Re: [PHP] php as CGI and $_POST

2004-06-04 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): > > and know that it works as intended, but now I seem completely unable to > get any $_POST (or even $_GET) data into the script. I suspect, from > reading the manual and noting the warnings, that any GET data will be > ignored, and that's fine, but I