17 Jul
2007
17 Jul
'07
9:40 p.m.
On 7/17/07, James Tunick <jt722@nyu.edu> wrote:
$postarray = array( 'files[image]' =>'@$file', 'taxonomy[3]'=>'2', 'title' => $file, 'body' => 'xxxx',
If this is the actual code you're using, I think the problem is that you're not passing in the file name correctly. The single quotes wont allow for the variable substitution needed to insert your filename. I've got an old blog post with some sample code: http://drewish.com/blogger/archives/2005/01/27/using_php_and_curl_to_do_an_h... Good luck, andrew