conputerguy99
09-03-2005, 09:49 PM
I'm using this php code to login users.
<?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
<?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