[PHP] Doing an HTML POST using header()

2002-07-22 Thread Francis

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.

Thanks



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Doing an HTML POST using header()

2002-07-22 Thread Miguel Cruz

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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php