something like: setcookie("cookiename","cookievalue"); header( "Location: $mail_error_page"); exit;
in mail_error_page: <?php $mycookie = $HTTP_COOKIE_VARS['cookiename']; ?> The cookie will exist until the web browser is closed.. -----Original Message----- From: L. Hoeneveld [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 13, 2002 9:30 AM To: Rick Emery Cc: [EMAIL PROTECTED] Subject: Re: [PHP] How to POST a HTML-page with the header function I'll study on that. And in case you have an easy example for both suggested methods I am willing to receive that. We use the PHP-pages as external services and I wonder if a session-ID can be used then. But maybe a cookie is an idea... In any case thanks and regards, Léon Hoeneveld Rick Emery wrote: > Short answer: NO. > Because your method is the same as the GET method > > Use cookies or sessions to pass hidden variable values > > -----Original Message----- > From: L. Hoeneveld [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 13, 2002 3:05 AM > To: [EMAIL PROTECTED] > Subject: [PHP] How to POST a HTML-page with the header function > > We use the header() function to display a html page like this: > > header("Location: $mail_error_page?CODE=$CODE"); > > But instead of showing the variable $CODE we would like to hide it. Just > like > when you POST variables to a HTML-page. Is there any way to do this? > > -- > Regards, > Léon Hoeneveld > The Netherlands > E-mail TNO: [EMAIL PROTECTED] > E-mail CMG: [EMAIL PROTECTED] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ____________________________________________________________________________ _________________ > This inbound message from KPN has been checked for all known viruses by KPN IV-Scan, powered by MessageLabs. > For further information visit: http://www.veiliginternet.nl > ____________________________________________________________________________ _________________ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php