php header redirect - firefox security prompts to open file
Posted: Thu Apr 21, 2011 4:22 am
Hi everyone,
i have a dilema. on some of my pages when i use header redirect code, firefox brings up a security confirmation prompt to open the page instead of just redirecting to the page. is there any way to redirect to a page without firefox bringing up the security prompt? i'd appreciate some guidance. thanks.
the code to redirect to a new page, i'm using, is below.
i have a dilema. on some of my pages when i use header redirect code, firefox brings up a security confirmation prompt to open the page instead of just redirecting to the page. is there any way to redirect to a page without firefox bringing up the security prompt? i'd appreciate some guidance. thanks.
the code to redirect to a new page, i'm using, is below.
Code: Select all
$page ="detailspage.php?idnumber=" . $idnumber;
// refresh page so data is current
header("Refresh: 10; url=$page");
echo " "; // NN4 requires that we output something...