in reply to Re: CGI.pm form buttons and Firefox
in thread CGI.pm form buttons and Firefox

Here's the pared down code that CGI generated which works in IE but not Firefox. Clicking on the submit button invokes the URL http://wrights/index2.html, not the cgi script itself.
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-U +S"><head><title>Wright Popcorn &amp; Nut Company - Web Store</title> <style type="text/css"> <!--/* <![CDATA[ */ img {border:0 none;} a {text-decorati +on:none} /* ]]> */--> </style> </head><body bgcolor="#FFA1A6"><div style="position:absolute; left:0px +; top:150px;"> <img border="0" src="menuborder.gif" /> </div> <div style="position:absolute; left:25px; top:150px;"> <a href="http://wrights/index2.html" /> ## problem link <img border="0" src="home.gif" /> </div> <table border="0" cellpading="5"> <tr> <td><img border="0" src="cornerlogo.gif" /></td> <td width="20%"></td> <td><img border="0" src="wrightlogo.gif" /></td> </tr> </table> <br /> <br /> <br /> <form method="post" action="/testbasket.cgi" enctype="application/x-ww +w-form-urlencoded"> <input type="hidden" name="page" value="1" /><table border="0" cellsp +acing="0" cellpadding="0"> <tr> <td rowspan="2" valign="top"><img src="order1.jpg" /></td> <td><table border="0" cellpadding="5" cellspacing="5"> <tr> <td colspan="5"><center> <h1> Web Store </h1> </center></td> </tr> </table></td> </tr> </table> <input type="submit" name="Go to Step 2" value="Go to Step 2" /><div>< +/div></form></body></html>
Useless trivia: In the 2004 Las Vegas phone book there are approximately 28 pages of ads for massage, but almost 200 for lawyers.