How about...
Code: Select all
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
ss='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
[/php:1:y access.
printf("Please submit a valid username and password to view this page.");
exit();
}
te;) or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("e;Please submit a valid username and password to view this page.");
exit();
}
y("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Pleashp]
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSEhp]
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf(&quD username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
e;) or die("Unable to Authenticate at this time."e;);
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("e;Unable to Authenticate at this time."e;);
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page."e;);
exit();
}
name and password to view this page.");
exit();
}
;quote;SELECT * FROM users WHERE pass='$user' AND username='$pass'"e;) or die("e;Unable to Authenticate at this time."e;);
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("e;Please submit a valid username and password to view this page."e;);
exit();
}
submit a valid username and password to view this page.");
exit();
}
te;Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If sers WHERE pass='$user' AND username='$pass'") or die("e;Unable to Authenticate at this time."e;);
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny hp]
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
* FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("e;Please submit a valid username and password to view this page."e;);
exitsql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
hp]
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page."e;);
exit();
}
sql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("eusername='$pass'") or die("Unable to Authenticate at this time."e;);
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf(&a$pass'") or die("Unable to Authenticate at this time."e;);
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit hp]
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("e;Plenable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
/php]p;quote;SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
ct($query);
if (!$result)
{
// If query returnedl_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
or die("Unable to Authenticate at this time."e;);
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.ysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
hp]
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
bject($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
d FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
ate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'"e;) or die("e;Unable to Authenticate at this time."e;);
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("e;Pleasehp]
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
hp]
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("e;Unable to Authenticate at this time."e;);
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("e;Please submit a valid username and password to view this page."e;);
exit();
}
CT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("e;sult = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.&qur die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}
;quote;SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
$query = mysql_query("SELECT * FROM users WHERE pass='$user' AND username='$pass'") or die("Unable to Authenticate at this time.");
$result = mysql_fetch_object($query);
if (!$result)
{
// If query returned FALSE, deny access.
printf("Please submit a valid username and password to view this page.");
exit();
}