Code: Select all
<?php
if (($username = "Vince" OR "JC" OR "Fusioned" OR "Test") &&
($password == "test")) {
header ("Location: mainframe.php?username=$username");
exit;
}
else {
print ("<center>Error logging in. Please try again.<BR></center>\n");
}
?>Code: Select all
Hello $Username! Good to see you again!feyd | Please review how to post code using
Code: Select all
andCode: Select all
tags. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]