We are struggling to automatically upload images using php - curl. Please let me know if there is any way to do the same.
the basic idea
$post = array( "file_box"=>"@/path/to/myfile.jpg", "username"=>"foobar", "password"=>"secret", "submit"=>"submit" ); curl_setopt($ch, CURLOPT_POSTFIELDS, $post); $response = curl_exec($ch); ?>
you can have more info about curl here.