--- Marek Kilimajer <[EMAIL PROTECTED]> wrote:
Let's not make it complicated:
confirmation.php:
<input type="hidden" name="post" value="<?php echo htmlspecialchars(serialize($_POST)); ?>">
email.php:
$_POST = unserialize(stripslashes($_POST['post']));
I think the other person's suggestion (hidden fields) was made so that the original poster doesn't lose all other POST data (since he mentioned a second POST request).
This method does not lose any post data as the whole $_POST array is serialized. Then it is unserialized back to $_POST array at the second page.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php