ok i made a login right and it says this
Parse error: parse error in /home/httpd/babesoncams.com/html/login.php on line 14
heres my codeing for it
<html>
<head>
<title>Login Here</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body></body>
<?php
$PageTitle = "Login Page";
require ("header.php");
if ($Message == "Invalid") {
print ("<b><center><font color=red>The username and password you entered do not match what is on file. Please try again!</font></center></b>\n");
}
<form action="handlelogin.php" method="POST">
print ("<center>Username: <input type=text name=UserName><BR></center>\n");
print ("<center>Password: <input type=Password name=Password><br></center>\n");
print ("<center><input type=Submit name=Submit value=\"Submit!\"><br></center>\n");
print ("<center><input type=Reset name=Reset value=\"Reset!\"></center>\n");
require ("footer.php");
?>
</body>
</html>
and on my handlelogin.php it says this
Warning: Cannot add header information - headers already sent by (output started at /home/httpd/babesoncams.com/html/handlelogin.php:8) in /home/httpd/babesoncams.com/html/handlelogin.php on line 14
my code for it is here
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
require ("login.php");
if (($UserName == "Larry") && ($password == "LarryPass")) {
header ("Location: index.php?UserName=$UserName");
exit;
} else {
header ("Location: login.php?Message=Invalid");
exit;
}
?>
</body>
</html>
www.babesoncams.com/login.php and handlelogin.php
can anyone help me plz