1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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