Re: Forwarding $_POST[]...
| From: | Daniel Brown | Date: | Thu, 09 Aug 2007 18:26:45 +0000 |
| Subject: | Re: Forwarding $_POST[]... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260531@lists.php.net to get a copy of this message | ||
On 8/9/07, Jim Lucas <lists@cmsws.com> wrote:
> What is complicated about
>
> step1.php
> <?php
>
> $my_post_data = $_POST;
>
> ...
>
> $_SESSION['_POST'] = $my_post_data;
>
> ?>
> and
> step2.php
> <?php
>
> $my_post_data = $_SESSION['_POST'];
>
> ...
>
> ?>
Jim, perhaps I'm missing something that you're hinting at,
represented by the ellipsis, but why redefine the superglobal to a
transient variable prior to populating the session?
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107
Hey, PHP-General list....
50% off for life on web hosting plans $10/mo. or more at
http://www.pilotpig.net/.
Use the coupon code phpgeneralaug07
Register domains for about $0.01 more than what it costs me at
http://domains.pilotpig.net/.