I didn't mean to start a controversy with my 'die' comment
![[Linked Image]](https://ubbdev.com/ubb/smilies/frown.gif)
Perhaps "generally not a good approach" was a poor choice of words.
If a script is intended for use by yourself, or other programmers, then a message like "Incorrect file type at line 123 myscript.cgi" may be fine. If the script is intended for use by Mr. Average Websurfer, then I would prefer to handle the error in a way that provides the user with information that he understands.
Just my opinion
This message has been edited by Dave_L on December 09, 2000 at 06:36 PM