Ok, can someone please tell me why the following script;
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print qq|
test
|;
doesn't work, but, the following does;
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print qq|
<html>
test
|;
The first script gives a 500 IS error, whilst the second one works. Why does the <html> bit make a difference?
Thanks
Andy
webmaster@ace-installer.com
http://www.ace-installer.com
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print qq|
test
|;
doesn't work, but, the following does;
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print qq|
<html>
test
|;
The first script gives a 500 IS error, whilst the second one works. Why does the <html> bit make a difference?
Thanks
Andy
webmaster@ace-installer.com
http://www.ace-installer.com