Re: Doing an HTML POST using header()
| From: | Miguel Cruz | Date: | Tue, 23 Jul 2002 05:17:19 +0000 |
| Subject: | Re: Doing an HTML POST using header() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-109033@lists.php.net to get a copy of this message | ||
On Mon, 22 Jul 2002, Francis wrote:
> I'm trying to redirect to another website but doing a post to that website
> at the same time. (ie POST rather than a GET (eg: header("Location:
> www.anothersite.com/index.php?page=22"); )
>
> How do you do an HTML post using the header() whats the syntax? I just cant
> find it anywhere.
You can't.
If you want to do a post, either construct the request yourself, use one
of the many free classes created to do so, or use the cURL library.
miguel