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}

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

2004-01-29 Thread Tom Rogers
Hi, Friday, January 30, 2004, 11:42:14 AM, you wrote: RM> I'm trying to execute /usr/bin/convert passing the image size and the RM> file name, the problem is that the file name contains lots of spaces, so RM> I try to pass "filename with lots of spaces", and nothing works. RM> I've read something

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

2004-01-29 Thread Michal Migurski
>Sample code: > > exec("$imagemagickPath/convert -geometry " . > "{$thumbnail_width}x{$thumbnail_height} " . > "$images_dir/$filename $images_dir/tb_$filename"); > >where filename could be: >/var/www/html/images/SPIN CoreRT1 to EX-JF1 (cw - kpi - KPI Performance >Report(Wee

[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