[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: : I solved it by myself, just wanted to post the solution : even if it's so simple, maybe it could useful for someone. : I just forgot the first instruction of any perl script in : HTML: print "Content-type: text/html\n\n"; : I put this instruction just after #!/usr/bin/perl, and : now anything works correctly, no need to print hear, : start_html and end_html.
So, each CGI program you have starts with: #!/usr/bin/perl print "Content-type: text/html\n\n"; That may be a really bad idea. If your program has an error then the error might print to the browser and reveal information to someone who shouldn't see it. As a perl programmer, security is one of the things you should pay attention to. I start CGI programs with: #!/usr/bin/perl -T use strict; use warnings; use CGI; The CGI.pm module, which is included with the perl distribution, has some excellent examples. You can also read Ovid's course on programming with CGI.pm: http://users.easystreet.com/ovid/cgi_course/ HTH, Charles K. Clarkson -- Head Bottle Washer, Clarkson Energy Homes, Inc. Mobile Home Specialists 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]