NYCPHP Meetup

NYPHP.org

[nycphp-talk] handling forms (relative newbie)

David Rydell drydell at worldnet.att.net
Thu Oct 2 15:26:53 EDT 2003


saving the _POST array should work with no problems...


using your example code (_POST array has first_name, last_name):

session_start();
session_register('_POST'); 
$_SESSION['_POST'] = $_POST;
header ("Location: session_results.php");
exit;

Session Results page:

session_start();
$_POST = $_SESSION['_POST'];

echo $_POST['first_name'];
echo $_POST['last_name'];
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.516 / Virus Database: 313 - Release Date: 9/1/2003




More information about the talk mailing list