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

From: Date: Mon, 22 Jul 2002 20:20:21 +0000
Subject: RE: [PHP] Re: Doing an HTML POST using header()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-108931@lists.php.net to get a copy of this message
> Forging a POST is a complicated task when compared to its GET cousin, > and there is no 'easy' way > > You must either use CURL, or write your own mini web client... > > Francis wrote: > > > > using NT? all I need it for is so the user can skip a registration step put > > its all coded using POST rather than GET, its gonna be quite simple.... but > > whats the syntax? there must be a way to do it... > > > > "Pete James" <peter_james@advanis.ca> wrote in message > > news:3D3C27A3.869D9A2A@advanis.ca... > > > Don't redirect, use curl to post your data to the new page. > > > > > > 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. > > > > > > > > Thanks google for posttohost; http://www.php-faq.com/postToHost.html

« previous php.general (#108931) next »