Posted by P-Rage on 07/13/06 14:40
Hello everyone,
I was wondering what could possibly cause Internet Explorer 6 to loop a
page usging a header(Location:) statement.
For example, a page called 'page1.php':
if((isset($_POST['var'])) && ($name='valid')){
// insert some data into MySQL.
$location = 'page2.php?name='.$name;
header(sprintf("Location: %s",$location));
exit();
}
FireFox redirects the user to page2.php as planned. But IE6 loops back
to page1.php (refreshes twice on most occasions). Any ideas? Thanks in
advance for any help and advice.
[Back to original message]
|