[EMAIL PROTECTED] wrote: > Hello, > > i need to know the reasons for this error "Premature end of script > headers" i checked with my http header content-type:text/html ,but i > had not solved yet..
Often this happens when some error occurs in your code before you output the headers. Try putting this near the top of your script: use CGI::Carp qw(fatalsToBrowser); this will redirect fatal errors to the browser window - see perldoc CGI::Carp for more info. If neither this nor Sean's suggestion helps post your code so we can take a look. Mike