CGI page won't load

I don’t know what you mean by “I cannot get this page to load”. Exactly what unexpected behaviour do you see? You you see anything in the browser? What about if you “view source”? Is there anything useful in the web server error log?

Your CGI code looks like something from the last millennium. It would be well worth your while looking at modern Perl web development techniques.

It’s hard to test your code as it includes a “cookie.pl” file and I have no idea what that contains. I assume it includes the Do_Cookies() subroutine. But if I comment that out and fix the shebang line then I get something that looks like it pretty much works. There’s basic HTML error (you close the <center> element twice) but nothing that is going to stop this from working.

Without more information about your problem, it’s hard to be any more help.

Leave a Comment