RE: [PHP] Sending post data from a script
| From: | Jay Blanchard | Date: | Fri, 05 Aug 2005 19:37:22 +0000 |
| Subject: | RE: [PHP] Sending post data from a script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-220108@lists.php.net to get a copy of this message | ||
[snip]
I'm trying to setup a PHP script that will send a POST data request to a
web form. The script needs to be automatic and not driven by a web form.
For example.
I have a cron script that runs every 15 minutes. The cron script calls
my php script on the server and sends the important data to a web based
form without human interaction. The data has to be passed with the
method="post". Sending the data via a URL request does not suffice.
So my question in general is: How can I send HTTP POST data to a remote
interface without using an HTML FORM?.
Any suggestions would be appreciated.
[/snip]
http://www.php.net/curl