RE: [PHP] How do I send a POST request?
| From: | Philip J. Newman | Date: | Wed, 13 Feb 2002 16:31:26 +0000 |
| Subject: | RE: [PHP] How do I send a POST request? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84428@lists.php.net to get a copy of this message | ||
Perhaps use a form?
On 12/Feb/2002 19:14:48, LaserJetter wrote:
> I'm currently sending an HTTP request for
> clientlogin.php?date=2002-02-12&type=nl and doing this by opening a socket
> connection with fsockopen, fwriting "GET
> /clientlogin.php?date=2002-02-12&type=nl......" to the socket and then using
> fgets to read the response.
>
> How do I send a POST request using a similar method?
> I'm doing this in PHP-GTK so I cant write an HTML form and submit it with
> Javascript.
>
>
>
> --
> PHP General Mailing List (<A
> HREF="http://www.php.net/">http://www.php.net/</A>)
> To unsubscribe, visit: <A
> HREF="http://www.php.net/unsub.php">http://www.php.net/unsub.php</A>
>
>
>
_______________________________________
Philip J. Newman
_______________________________________________________________________
Powered by http://www.philipsdomain.com/ Newman Online.
Verified account: newmanpj at nospam.philipsdomain.com