Re: submit to a remote form without the use of curl?? Is it possible?
| From: | Brent Clements | Date: | Tue, 28 Sep 2004 12:12:29 +0000 |
| Subject: | Re: submit to a remote form without the use of curl?? Is it possible? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-198061@lists.php.net to get a copy of this message | ||
Stupid me completely forgot about the socket functions in PHP. Again, that's
what I get for having too little coffee last night.
Thanks for the help everyone.
----- Original Message -----
From: "Chris Shiflett" <shiflett@php.net>
To: <bclem@imaginative-enterprises.com>; <php-general@lists.php.net>
Sent: Monday, September 27, 2004 11:06 PM
Subject: Re: [PHP] submit to a remote form without the use of curl?? Is it
possible?
> --- bclem@imaginative-enterprises.com wrote:
> > Is it possible with php to submit to a remote form without the
> > use of curl?
>
> You can use fsockopen:
>
> http://shiflett.org/hacks/php/http_post
>
> If your version of PHP supports streams, you can use streams:
>
> http://shiflett.org/hacks/php/streams_post
>
> Hope that helps.
>
> Chris
>
> =====
> Chris Shiflett - http://shiflett.org/
>
> PHP Security - O'Reilly HTTP Developer's Handbook - Sams
> Coming December 2004 http://httphandbook.org/