02-21-2008, 12:06 PM
|
#12 (permalink)
|
|
The Addict
Join Date: Nov 2007
Posts: 282
Thanks: 61
|
Quote:
Originally Posted by sketchMedia
Sorry i havnt looked at your script fully yet, i will do when i get sum time.
I think there is an option witin IE7 to enable META REFRESH this could explain why it wasnt working for Alan. I believe it can be enabled/disabled in the Internet Security settings. I havnt got IE7 atm as i am on linux so i cant test this thoery, failing that its most likly to be another 'random feature' of IE7.
Why not use:
PHP Code:
header('Location: login.php');
instead of using the refresh, or did you want to have a short delay before the redirect?
|
ewlll
PHP Code:
header("refresh: 1; url=login.php");
:)
Quote:
|
I had the 'header already sent' error message several times on my pages. I found that if I wrote my includes/requires after the "header('Location....') then it worked.
|
OR putting
at the top of your pages or in your config and include it to all your pages boom perfect ;).
__________________
PHP/XHTML Freelancer:
Cleanscript.com v3 - Programming starting at just $5 act now!
|
|
|
|