All POST value are stored in the $_POST[] array, all GET values are stored in the $_GET[] array. Both POST and GET values are stored in the $_REQUEST[] array. So if you don't know whether it will be a post or a get, grab the data by accessing the $_REQUEST[] array.


On Monday, September 22, 2003, at 10:25 AM, Stephan Becker wrote:


Maybe my problem ist simple to solve, but I canīt.
Here it is:

A special PHP CGI Script, letīs say 'phpscript.cgi' might be called with GET
or POST Parameters.
Though I will never now which kind and how many of such parameters will be
passed to that script, I have to do some work of mine with them and after
that would like to call (redirect to) an other script passing exact the same
amount and type of pararmeters origninally given to my famous phpscript.cgi.


I just succeeded in handling the URL based stuff like Host, Scriptname GET
Paramters etc.
But how to handle the POST Data ?


Any guess out there ?

brgds
stephan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to