Re: [PHP] Re: Sending post data from a script

2005-08-06 Thread Vedanta Barooah
here is an example that posts data to the altavista babelfish form using curl: http://www.phpclasses.org/browse/file/9812.html thanks, -- *~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~*~:~* Vedanta Barooah On 8/6/05, Manuel Lemos [EMAIL PROTECTED] wrote: Hello, on 08/05/2005 04:33 PM Paul Nowosielski

Re: [PHP] Re: Sending post data from a script

2005-08-06 Thread glumtail
you can try this: $sock = fsockopen($parse_url['host'], $parse_url['port'], $errno, $errstr, 30); if (!$sock) { die($errstr ($errno)\r\n); } $tmp = explode('',$parse_url['query']); $data = NULL; foreach($tmp as $val) { $p = explode('=',$val); if(empty($data)) {

[PHP] Re: Sending post data from a script

2005-08-05 Thread Manuel Lemos
Hello, on 08/05/2005 04:33 PM Paul Nowosielski said the following: 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