Hi guys. I have a simple form that echo's the data to a savable html file. It works fine on a PC but Mac users keep getting a 404 error. Does anyone have an idea of why this might be happening?
Many thanks.
Here's the code for the script:
<?php
header('Content-type: application/htm');
header('Content-Disposition: attachment; filename="signature.htm"');
?>
<html>
<body>
<font size="2" face="Arial">
________________________________________
<br />
<span style="text-transform: uppercase">
<br /><?php echo $_POST["fname"]; ?></span><b></b><span style="text-transform: uppercase">
</span>
<br /><?php echo $_POST["title"]; ?>
<br />
<br /></font><b></b><font size="2" face="Arial">101 Saveda Blvd. | Torrance, CA 90505<br />
</b><?php echo $_POST["phone"]; ?> <?php echo $_POST["fax"]; ?> <?php echo $_POST["mobile"]; ?><br>
<span style="color:#DE2020">
<a href="http://www.company.com" style="text-decoration: none">
<font color="#DE2020">companyl.com
</font></a>
<br />
<br />
</span></font><font face="Arial">
<img border="0" src="company.jpg" width="90" height="53"><br />
<font color="#666666"><br />
</font><font size="1"><font color="#333333">
<img border="0" src="twit.jpg" width="15" height="15">
</font><a href="http://twitter.com" style="text-decoration: none">
<font color="#333333">Follow us on Twitter</font></a><font color="#333333"><br />
<img border="0" src="face.jpg" width="15" height="15">
</font>
<a href="http://www.facebook.com">
<font color="#333333">Join Facebook</font></a></font></font>
</body>
</html>
Many thanks.
Here's the code for the script:
<?php
header('Content-type: application/htm');
header('Content-Disposition: attachment; filename="signature.htm"');
?>
<html>
<body>
<font size="2" face="Arial">
________________________________________
<br />
<span style="text-transform: uppercase">
<br /><?php echo $_POST["fname"]; ?></span><b></b><span style="text-transform: uppercase">
</span>
<br /><?php echo $_POST["title"]; ?>
<br />
<br /></font><b></b><font size="2" face="Arial">101 Saveda Blvd. | Torrance, CA 90505<br />
</b><?php echo $_POST["phone"]; ?> <?php echo $_POST["fax"]; ?> <?php echo $_POST["mobile"]; ?><br>
<span style="color:#DE2020">
<a href="http://www.company.com" style="text-decoration: none">
<font color="#DE2020">companyl.com
</font></a>
<br />
<br />
</span></font><font face="Arial">
<img border="0" src="company.jpg" width="90" height="53"><br />
<font color="#666666"><br />
</font><font size="1"><font color="#333333">
<img border="0" src="twit.jpg" width="15" height="15">
</font><a href="http://twitter.com" style="text-decoration: none">
<font color="#333333">Follow us on Twitter</font></a><font color="#333333"><br />
<img border="0" src="face.jpg" width="15" height="15">
</font>
<a href="http://www.facebook.com">
<font color="#333333">Join Facebook</font></a></font></font>
</body>
</html>