Ninjakreborn Posted November 15, 2006 Share Posted November 15, 2006 [code]<?phprequire_once("../master/config/config.php");unset($_SESSION['temp']);header("Location /admin.php");?>[/code]http://www.9ksafety.com/eventaccident/cleardata.phpIt make's no sense, I narrowed it down, it's my redirect. It's not working for some reason?It work's on the other page's properly, but on this one it give's me that, this is simply suppose to clear the variables that are there, and redirect, it didn't even give me headers already sent, it just gave me this, am I doing something wrong. Quote Link to comment Share on other sites More sharing options...
trq Posted November 15, 2006 Share Posted November 15, 2006 Try...[code=php:0]header("Location: /admin.php");[/code] Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted November 15, 2006 Author Share Posted November 15, 2006 something so simple, over such a large problem.I didn't even think I might have mispelled it, I forgot the: thanks thorpe, I set here for 4 hour's and I missed a damn : I can't believe I forgot something so small/simple, thanks again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.