P
phillyfan
I have a script with the code below in it. It works fine in IE, I know
the statement has been stated many times before, but does not display
correctly in Firefox.
Code:
#!/usr/bin/perl -w
use strict;
use POSIX;
use diagnostics;
use CGI qwall);
use Fcntl qwflock);
use DBI;
[...]
print << "WEB_PAGE";
<html>
<head>
<title>
UCR - $svcname $periodtime $rptype Report
</title>
<link REL="StyleSheet" TYPE="text/css"
HREF="http://$servername/css/angelica.css">
</head>
<body>
<div class=main>
<table cellpadding=5 border=1 align=center>
<tr>
<td colspan=10 align=center>
<p><B> $svcname $periodtime $rptype Report Summary</B></p>
<p>Requested by <B>$svcnum[1] $svcnum[2]</B><BR>
From $todate to $fromdate<BR>
As of $asoftime
</p></td>
</tr>
<tr>
<td class=header align=center>
Meter Serial Number
</td>
<td class=header align=center>
Meter Name
</td>
<td class=header align=center>
Meter Value
</td>
</tr>
</table>
<P><center><a class=body
href="http://$servername/cgi-bin/p/reports?opr=$opr">Go Back to Report
Parameters</A></center><P>
</div>
</body>
</html>
WEB_PAGE
Looking at the page IN IE it displays the HTML page as I intended. In
Firefox I get the following:
<html>
<head>
<title>
UCR - Houston Weekly Svc Report
</title>
<link REL="StyleSheet" TYPE="text/css"
HREF="http://scdadev.angelica.com/css/angelica.css">
</head>
<body>
<div class=main>
<table cellpadding=5 border=1 align=center>
<tr>
<td colspan=10 align=center>
<p><B> Houston Weekly Svc Report Summary</B></p>
<p>Requested by <B>Jay Santerre</B><BR>
From 01/25/2006 to 02/01/2006<BR>
As of 02-01-2006 09:44:22
</p></td>
</tr>
<tr>
<td class=header align=center>
Meter Serial Number
</td>
<td class=header align=center>
Meter Name
</td>
<td class=header align=center>
Meter Value
</td>
</tr>
</table>
<P><center><a class=body
href="http://scdadev.angelica.com/cgi-bin/p/reports?opr=JSANTERRE">Go
Back to Report Parameters</A></center><P>
</div>
</body>
</html>
Please advise. I have done a search to try and find the error of my
ways but have not found any one else with the issue I am having with a
solution.
the statement has been stated many times before, but does not display
correctly in Firefox.
Code:
#!/usr/bin/perl -w
use strict;
use POSIX;
use diagnostics;
use CGI qwall);
use Fcntl qwflock);
use DBI;
[...]
print << "WEB_PAGE";
<html>
<head>
<title>
UCR - $svcname $periodtime $rptype Report
</title>
<link REL="StyleSheet" TYPE="text/css"
HREF="http://$servername/css/angelica.css">
</head>
<body>
<div class=main>
<table cellpadding=5 border=1 align=center>
<tr>
<td colspan=10 align=center>
<p><B> $svcname $periodtime $rptype Report Summary</B></p>
<p>Requested by <B>$svcnum[1] $svcnum[2]</B><BR>
From $todate to $fromdate<BR>
As of $asoftime
</p></td>
</tr>
<tr>
<td class=header align=center>
Meter Serial Number
</td>
<td class=header align=center>
Meter Name
</td>
<td class=header align=center>
Meter Value
</td>
</tr>
</table>
<P><center><a class=body
href="http://$servername/cgi-bin/p/reports?opr=$opr">Go Back to Report
Parameters</A></center><P>
</div>
</body>
</html>
WEB_PAGE
Looking at the page IN IE it displays the HTML page as I intended. In
Firefox I get the following:
<html>
<head>
<title>
UCR - Houston Weekly Svc Report
</title>
<link REL="StyleSheet" TYPE="text/css"
HREF="http://scdadev.angelica.com/css/angelica.css">
</head>
<body>
<div class=main>
<table cellpadding=5 border=1 align=center>
<tr>
<td colspan=10 align=center>
<p><B> Houston Weekly Svc Report Summary</B></p>
<p>Requested by <B>Jay Santerre</B><BR>
From 01/25/2006 to 02/01/2006<BR>
As of 02-01-2006 09:44:22
</p></td>
</tr>
<tr>
<td class=header align=center>
Meter Serial Number
</td>
<td class=header align=center>
Meter Name
</td>
<td class=header align=center>
Meter Value
</td>
</tr>
</table>
<P><center><a class=body
href="http://scdadev.angelica.com/cgi-bin/p/reports?opr=JSANTERRE">Go
Back to Report Parameters</A></center><P>
</div>
</body>
</html>
Please advise. I have done a search to try and find the error of my
ways but have not found any one else with the issue I am having with a
solution.