NYCPHP Meetup

NYPHP.org

[nycphp-talk] Repost Post Vars

crisscott at netzero.com crisscott at netzero.com
Wed Sep 17 17:13:09 EDT 2003


I don't know how secure this would be or if it is considered really bad, but what about saving them in $_SESSION and then redirecting?  Something like:
$_SESSION['post_vars'] = $_POST;
header(blah...);
And then when you get to the second page you could put them back:
$_POST = $_SESSION['post_vars'];
unset($_SESSION['post_vars']);

I have no idea what the implications of this are.

Scott Mattocks



More information about the talk mailing list