There are two most probable causes.
1. if you upload your script using FTP, you must use ASCII as opposed to binary mode.
2. Windows as a hangover from its DOS days ends text lines with a carriage returns / newline pair where as Linux (based on Unix) ends text with just a newline character.
Compatability problems [...]
Entries Tagged as 'MySQL'
Q. I am getting an “Internal Server Error” when I try and run a perl/cgi script.
May 9th, 2007 · No Comments · CGI, MySQL, Perl, Programming Lanquages
Tags:




