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)) {

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

2005-08-05 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 Nowosie