Imagemagick with PHP - Output problem

Discussion in 'PHP' started by agriz, Aug 9, 2010.

  1. #1
    Hi,

    I am using imagemagick with php. I am executing imagemagick functions with exec();

    Before this line, if i put

    echo "test";
    Code (markup):
    It is sending the message to browser. But after that line (imagemagick code) whatever i type in echo, i don't see anything.


    Before and after this line, there are few imagemagick scripts written all are executed properly and saved in the desired folder. But i don't know why it is not outputting any text to browser after that particular line.

    There is no error log after running that file. I have tried a lot and finally i am here to get some help
     
    agriz, Aug 9, 2010 IP
  2. sea otter

    sea otter Peon

    Messages:
    250
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try system() instead of exec(), that might do it.
     
    sea otter, Aug 11, 2010 IP