Page 1 of 1

php header redirect - firefox security prompts to open file

Posted: Thu Apr 21, 2011 4:22 am
by cjkeane
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.

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...

Re: php header redirect - firefox security prompts to open

Posted: Thu Apr 21, 2011 1:17 pm
by incubi
Your code is working for me in Firefox 3.6 I don't have many of the security settings active in my setup. What version of Firefox are you using?

Lee