I
ich_bin_Ingenieur
So it's like this...
I wrote a PERL script that receives GET data and returns a webpage,
and this script works fine when used with Internet Explorer on a PC...
But when running this script on Mozilla, Opera, or Safari on a MAC, it
returns the a plain text file in the browser window of the HTML code,
rather than displaying the HTML page.
I'm not sure what's causing it to act like this. I've tested numerous
PHP CGI's in the same browsers and they all work correctly.
The script has been CHMODed to 755, it has a .cgi extention, and it
returns an HTML page with the meta header <meta http-equiv="Content-
Type" content="text/html; charset=iso-8859-1">. I've tried changing
the permission, changing the extention, and I'm trying to see if I can
Google this problem, but no luck yet.
The first part of the webpage is returned using a "print <<ENDHTML;"
block, and the rest of the page is returned through print
statements.
Has anyone heard about this behavior? Does anyone know what the
problem might be?
I wrote a PERL script that receives GET data and returns a webpage,
and this script works fine when used with Internet Explorer on a PC...
But when running this script on Mozilla, Opera, or Safari on a MAC, it
returns the a plain text file in the browser window of the HTML code,
rather than displaying the HTML page.
I'm not sure what's causing it to act like this. I've tested numerous
PHP CGI's in the same browsers and they all work correctly.
The script has been CHMODed to 755, it has a .cgi extention, and it
returns an HTML page with the meta header <meta http-equiv="Content-
Type" content="text/html; charset=iso-8859-1">. I've tried changing
the permission, changing the extention, and I'm trying to see if I can
Google this problem, but no luck yet.
The first part of the webpage is returned using a "print <<ENDHTML;"
block, and the rest of the page is returned through print
statements.
Has anyone heard about this behavior? Does anyone know what the
problem might be?