Re: Trying to send data via POST
| From: | Richard Davey | Date: | Mon, 21 Nov 2005 19:23:11 +0000 |
| Subject: | Re: Trying to send data via POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226233@lists.php.net to get a copy of this message | ||
Hi Anders,
Monday, November 21, 2005, 7:13:40 PM, you wrote:
> I'm trying to set up a script that will post a picture file to a
> hosting site. Normally, the site accepts uploads via a web form
> using a POST action. How can I make this file transfer to the host
> so it'll think it's posted by it's own web form? I just don't get
> how to set it up..
Start with something like cURL or Snoopy, to make life a little
easier. Otherwise you can simulate this through standard socket
commands.
Cheers,
Rich
--
Zend Certified Engineer
PHP Development Services
http://www.corephp.co.uk