O'Reilly logo

Sams Teach Yourself CGI in 24 Hours, Second Edition by Rafe Colburn

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tools and Techniques for Debugging Your Program Code

If you’ve gotten past all the standard problems people run into with CGI scripts and your script still isn’t working properly, you have to start searching for bugs within your code. This can be a much tougher job than dealing with all the common problems mentioned previously.

Basically, errors within programs come in two flavors—syntax errors and runtime errors. Syntax errors crop up when you use your programming language of choice improperly. If you leave out a required semicolon or use elseif instead of elsif, your program will not compile, or if it’s an interpreted language, it won’t execute all the way through. Runtime errors occur when all the syntax in your program is correct, but your ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required