Re: HTTP POST

From: Date: Fri, 13 Sep 2002 19:15:42 +0000
Subject: Re: HTTP POST
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-116303@lists.php.net to get a copy of this message
<?php if ($_POST[yourvar] == "what it should be equal to") { echo "VERIFIED!"; } else { echo "INVALID!"; } ?> Adam On Fri, 13 Sep 2002, news.php.net wrote: > I'm a bit of a newbie to PHP and web applications so forgive me if this is > pretty basic. I need to send an HTTP POST to another website that is > supposed to respond back to the post with a simple string containing either > "VERIFIED" or "INVALID". I really don't understand how to do this, > however. > I know how to get variables from forms that send me a post, but have now > clue how to read the response to a post that I send from a script. I didn't > have any luck finding this in the documentation either, so any help would be > appreciated. > > Best Regards, > > Kevin > > > >

« previous php.general (#116303) next »