Using fsockopen
| From: | ER Lees | Date: | Thu, 04 Jul 2002 07:35:40 +0000 |
| Subject: | Using fsockopen | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105391@lists.php.net to get a copy of this message | ||
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