Re: Trying to send data via POST
| From: | Anders Norrbring | Date: | Tue, 22 Nov 2005 21:18:41 +0000 |
| Subject: | Re: Trying to send data via POST | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226300@lists.php.net to get a copy of this message | ||
On 2005-11-21 20:23 Richard Davey wrote:
Hi Anders, Monday, November 21, 2005, 7:13:40 PM, you wrote:Thanks to Rich and Jay who suggested cURL, it works perfectly fine, and was really easy to implement! -- Anders Norrbring Norrbring ConsultingI'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