Why i get everytime the error-message that i've already sent the headers
- by mikep
Hey,
i've another question about web-programming.
I programmed a login script, but everytime when i try to login it says that i've send the header informations already.
Here are the 2 files:
<?php
if($_GET['logout'] == 1) {
setcookie('authorized', 1, time()-3600);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0…