Script Eoh Errors

liunx

Guest
I've got a script that works fine in perl, but whenever I access it via web, it gives me a 500 error with the ever helpful 'premature end of script headers' error.<br /><br />Again, script works fine in perl with no errors, but won't run on website (and it has the right permissions to run).<br /><br />Any ideas on what to look for?<!--content-->
Did you upload it in ASCII mode vs Binary? If yes, can you post the contents of the script and maybe one of the members can spot a problem,<!--content-->
<!--QuoteBegin-TCH-Bruce+Apr 10 2005, 11:27 AM--><div class='quotetop'>QUOTE(TCH-Bruce @ Apr 10 2005, 11:27 AM)</div><div class='quotemain'><!--QuoteEBegin-->Did you upload it in ASCII mode vs Binary? If yes, can you post the contents of the script and maybe one of the members can spot a problem,<br /><div align="right"><a href="http://www.totalchoicehosting.com/forums/index.php?act=findpost&pid=124147"><img src='http://www.totalchoicehosting.com/forums/style_images/1/post_snapback.gif' alt='*' border='0' /></a></div><!--QuoteEnd--></div><!--QuoteEEnd--><br /><br />Well, now it's working. Seems IE did upload it in binary mode.<br /><br />Still gives me an error on my local server (just not in perl) though, not sure why, need to dig in to the server config I guess, obviously I screwed something up!<br /><br />I couldn't have posted the code anyway, it's nearly 2000 lines (and growing).<!--content-->
 
Back
Top