Search found 2 matches

by Arash11
2014-03-01T06:39:37-07:00
Forum: Developers
Topic: problem with exec,php,IM
Replies: 3
Views: 5669

Re: problem with exec,php,IM

hi , thanks for your replay i use every thing , but still no hope Evan this code is not working : exec("/usr/bin/convert '/home/go/public_html/yo/test/a.jpg' '/home/go/public_html/yo/test/b.jpg' 2>&1;",$array); every thing is ok , but for this jpgs , every query in exec stop working i post an other ...
by Arash11
2014-02-28T23:08:43-07:00
Forum: Developers
Topic: problem with exec,php,IM
Replies: 3
Views: 5669

problem with exec,php,IM

hi , im tring to convert some jpg files and i put a.jpg into the script folder my code is : putenv("MAGICK_THREAD_LIMIT=1"); putenv("PATH=/usr/local/bin:/usr/bin:/bin"); exec("/usr/bin/convert -debug exception '".__DIR__."/a.jpg"."' '".__DIR__."/b.jpg"."' 2>&1",$array); echo "<br>".print_r($array ...