[development] Add image node with PHP Curl?
drewish at katherinehouse.com
Tue Jul 17 19:40:30 UTC 2007
On 7/17/07, James Tunick <jt722 at nyu.edu> wrote:
> $postarray = array(
> 'files[image]' =>'@$file',
> '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:
More information about the development