Re: Trying to send data via POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2005-11-21 20:23 Richard Davey wrote:
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

Thanks to Rich and Jay who suggested cURL, it works perfectly fine, and was really easy to implement!
--

Anders Norrbring
Norrbring Consulting

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux