Forwarding $_POST[]...
| From: | Tony Di Croce | Date: | Thu, 09 Aug 2007 18:04:35 +0000 |
| Subject: | Forwarding $_POST[]... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-260522@lists.php.net to get a copy of this message | ||
I keep wanting to do something, and either I dont know how to do it, or I'm
doing something wrong and need to rethink things.
Quite often, I have a form that submits to a php script via POST and after
doing some processing (or more frequently, asking the user a question), I'd
like to forward those $_POST[] vars to another script (or even the same
script).
I could do something complicated and store the $_POST vars in $_SESSION[],
but what I'd rather do is simply add a var to $_POST[] and resubmit this to
the same .php.
Is their any way to do this, or do I need to rethink things?
td
--
Publish technical articles @ skilledwords.com and get 100% of the
ad-revenue!
http://www.skilledwords.com