Re: Forwarding $_POST[]...
| From: | tedd | Date: | Sat, 11 Aug 2007 14:28:36 +0000 |
| Subject: | Re: Forwarding $_POST[]... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260685@lists.php.net to get a copy of this message | ||
At 7:10 PM +0100 8/9/07, Stut wrote:
Rethink things. There's almost certainly a better way but without knowing why you think you need to do this it's not possible to help any further. -StutI think I understand what the OP is asking. How about this example: 1. User selects items he wants to purchase and is sent to a "buy" page (with $_POST data). 2. However, the user has not logged in and thus is sent to a log-in page. 3. After the user logs in, the user is returned back to the "buy" page. Now, in this exchange what's the easiest way to maintain the $_POST data? For me, I place the data in a $_SESSION array and pull it out if/when the user returns. As you know, there are all sorts of ways to do this and I think that was the question of the poster. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com