Re: [PHP] exec won't pass arg with spaces

2004-01-30 Thread Raul Millan
You where completely right, thanks so much for this tip. I didn't try the "this\ is\ the\ file" approach, but I'll do it and let you know if it worked. Raúl Michal Migurski wrote: Sample code: exec("$imagemagickPath/convert -geometry " . "{$thumbnail_width}x{$thumbnail_height}

[PHP] exec won't pass arg with spaces

2004-01-29 Thread Raul Millan
I'm trying to execute /usr/bin/convert passing the image size and the file name, the problem is that the file name contains lots of spaces, so I try to pass "filename with lots of spaces", and nothing works. I've read something about safe mode, but I have safe mode disabled; I also read somethi