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

2002-02-13 Thread Rick Emery
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

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

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

2002-02-13 Thread Rick Emery
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

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

2002-02-13 Thread bvr
If you really want, you can emulate a form POST by using the CURL library. Please refer to the manual for more info on CURL. bvr. 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? -- PHP

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

2002-02-13 Thread Erik Price
On Wednesday, February 13, 2002, at 04:04 AM, L. Hoeneveld wrote: 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