Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Send visitor to page two


Adam5000 - 2:26 pm on Mar 17, 2011 (gmt 0)


Thanks again brotherhood and I'm still having trouble with it. I don't know where the original header information can be coming from. I kept removing lines of code until the only thing left was the redirection code and the error is still there. If I'm thinking right, the code I have below should be an automatic redirect in all cases. I'm mystified. Below is the entire complete test page (all eleven lines of it) and I still get the error. I'm mystified.

<html>
<head>
<title>Test</title>
</head>
<body>
<?php
header('Location: www.google.com');
exit(0);
?>
</body>
</html>


Thread source:: http://www.webmasterworld.com/php/4282796.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com