in reply to Image Magick question

If the script is properly uploaded, you can add use CGI::Carp qw(fatalsToBrowser); to the top so that you see the die message in your browser. CGI::Carp is always a good idea anyway as it makes your error logs more readable, but remember to remove the qw(fatalsToBrowser) once the script goes public as it may give a cracker valuable information on breaking your script.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: Image Magick question
by db2admin (Acolyte) on Nov 30, 2002 at 19:35 UTC
    Thank you very much Aristotle et al. Once I inserted the CGI::Carp module, I was able to debug the script from the browser. I found a syntax error right away. I unknowingly put a "print" statement between the end of an "if" bracket and an "else" bracket when trying to debug the script. Thank you for the great tip!

    David K.