it is some admin pages, when logged in it will redirect to another page using header("location : main.php"), I am putting the instruction include("db.php"); before the header instruction so no redirection is made, but when i move the header above the include the direction work, in another case i would put it above and finish , but in this case i am forced to put the header below the include.
I even cleared the file db.php, i was worry the problem was from there but the problem persist.
thanks.