On Thu, Jul 24, 2003 at 11:50:17PM +0530, Visu wrote: > Hi, > I have a cgi code like the one below.when i run this program > i got the error message as premature end of script headers in my server's > error log.I am new to this CGI module. > > use CGI; > $a=CGI->new(); > print $a->header("text/html\n\n"); ^^^^
You shouldn't use those newlines. The header() method will take care of all that for you. -- Steve -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]