Re: POST Parameters

From: Date: Mon, 22 Sep 2003 19:16:56 +0000
Subject: Re: POST Parameters
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-163516@lists.php.net to get a copy of this message
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


« previous php.general (#163516) next »