php: damn I'm good :-)
| From: | Sierra Times.com | Date: | Sun, 02 Mar 2003 01:43:44 +0000 |
| Subject: | php: damn I'm good :-) | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-15980@lists.php.net to get a copy of this message | ||
Scratch my last question. In fact, since I didn't see this method listed in the documentation,
who knows - might be worth adding.
Solution to the header( ) function not working at times:
Leave php - hard code the destination right into html head tags. I did it as follows:
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="refresh" content="1;URL=http://www.sierratimes.com/cgi-bin/wh/newspro.cgi?generate">
</head>
<body bgcolor="#FFFFFF">
</body>
</html>
<?php
##### END RADIOACTIVE SECTION##########################
#######################################################
die;
Works like a charm. Credit again to John A. for beating me into becoming a junior code hack. :-)