in reply to CGI: Premature end of script headers

That script is SO badly written that your errors could be comming from anywhere. Here's the output from the perl compiler on the command line (after I removed all the "==>" stuff):
perl -c test.pl Useless use of push with no values at test.pl line 224. Unquoted string "aa" may clash with future reserved word at test.pl li +ne 289. Unquoted string "details" may clash with future reserved word at test. +pl line 48 9. Unquoted string "deny" may clash with future reserved word at test.pl +line 599. Unquoted string "approve" may clash with future reserved word at test. +pl line 64 8. Unquoted string "aa" may clash with future reserved word at test.pl li +ne 674. Unquoted string "aa" may clash with future reserved word at test.pl li +ne 770. Unquoted string "adelete" may clash with future reserved word at test. +pl line 10 11. Unquoted string "adelete" may clash with future reserved word at test. +pl line 10 56. Unquoted string "aa" may clash with future reserved word at test.pl li +ne 1250. Unquoted string "fname" may clash with future reserved word at test.pl + line 1351 . Unquoted string "lname" may clash with future reserved word at test.pl + line 1360 . Unquoted string "aa" may clash with future reserved word at test.pl li +ne 1599. Unquoted string "aa" may clash with future reserved word at test.pl li +ne 1630. Name "main::bodyspec" used only once: possible typo at test.pl line 14 +72. Name "main::month" used only once: possible typo at test.pl line 182. Name "main::date2" used only once: possible typo at test.pl line 181. test.pl syntax OK
I would suggest looking for something better (what the h*ll is this thing supposed to do anyway?)

Joost.

Replies are listed 'Best First'.
Re: Re: CGI: Premature end of script headers
by Aragorn (Curate) on Jan 15, 2004 at 15:24 UTC
    If shareware code of this company is any indication of the quality of their Pro products' code I would definitely recommend against buying from them.

    Arjen

Re: Re: CGI: Premature end of script headers
by davidlt77 (Initiate) on Jan 15, 2004 at 14:05 UTC
    I appreciate the quick response from everyone. Thanks for taking the time to look at the code.

    Joost, the code is part of a package to manage accounts and passwords to a Web site. It's freeware from http://www.siteinteractive.com/acctlite/. Maybe I'll take your advice and search for something else!

    Thnx,

    Dave
      Their is a package I looked at and one of my juniors used for a client called BURP (Basic User Registration Package). It can be found at this location.

      But be warned - it is mod_perl based. However it was a snap to install, the documentation is very clear and the code was very well written IIRC.

      jdtoronto