Re: Using fsockopen
| From: | Remy Dufour | Date: | Thu, 04 Jul 2002 14:33:57 +0000 |
| Subject: | Re: Using fsockopen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105446@lists.php.net to get a copy of this message | ||
Take a look at this class. I think thats what you want !
> Help
>
> I'm a newbie to indepth PHP.
>
> I want to issue an fsockopen command to pass a POST data set to a remote
server script.
>
> I understand the pricipals behind fsockopen, but I cannot figure out the
string I need to pass to POST the data - I will be emulating the output from
a <Form> element.
>
> In addition, how do I detect a successful operation? before closing the
socket?.
>
> Any help greatfully received.
>
> thks
>
> Richard