[PHP] How to POST a HTML-page with the header function

2002-02-13 Thread L. Hoeneveld

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




Re: [PHP] How to POST a HTML-page with the header function

2002-02-13 Thread L. Hoeneveld

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