Re: How to POST a HTML-page with the header function
| From: | L. Hoeneveld | Date: | Wed, 13 Feb 2002 15:30:14 +0000 |
| Subject: | Re: How to POST a HTML-page with the header function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-84585@lists.php.net to get a copy of this message | ||
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:Hoeneveld@ict.tno.nl]
> Sent: Wednesday, February 13, 2002 3:05 AM
> To: php-general@lists.php.net
> 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: hoeneveld@ict.tno.nl
> E-mail CMG: leon.hoeneveld@cmg.nl
>
> --
> 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
> _____________________________________________________________________________________________