http://drupal.org/node/270997 is a good start.
http://stackoverflow.com/questions/4003989/upload-a-file-using-file-get-... has a more raw example
Patch that allows for this to happen
This patch has been committed to 6.x & 7.x
Example code usage
<?php$url_front = httprl_build_url_self();$options['method'] = 'POST';$options['data'] = array( 'x' => 1, 'y' => 2, 'z' => 3, 'files' => array( 'core_js' => array( 'misc/form.js', 'misc/batch.js', ), ),);httprl_request($url_front, $options);$request = httprl_send_request();echo httprl_pr($request);?>
The example needs to be added to the readme file as well.
Patch has been committed to 6.x & 7.x
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.