in reply to First Script

Permissions error. Make sure the webserver has permission to execute the script.

For a simple script like this, just give everyone read/execute permissions. Keep in mind that CGI security is normally very complex, and you're going to want to be much more careful normally. But for now (assuming Unix/Linux) just execute this as the owner of the script:

chmod 755 <filename>

- email Ozymandias