Menu
I’m using this php code to login users.
[code=php]<?php
$name = $_POST[‘name’];
$pass = $_POST[‘pass’];
if($name == “Joan Jones” && $pass == “karen94”){setcookie(“namec”, “Joan”);}
else {$namec = “person who is desperate enough to try and make up a valid login”;}
print “Hello, $namec”;
?>
Then I get this error message. Does anyone know what this means?
Warning: Cannot modify header information – headers already sent by (output started at /home/redriver/public_html/design/customers.php:10) in /home/redriver/public_html/design/customers.php on line 13