1
Whats the point of this protocol?
So the widespread use of emojis these days kinda makes forum smileys pointless, yeah?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
SELECT u.flags as uf, g.flags as gf, w.flags as wf, c.flags as cf \
FROM users u, groups g, users_groups ug, wildcards w, clients c \
WHERE u.username='secretshop' AND (ug.username='secretshop' AND g.groupname=ug.groupname) AND 'secretshop' LIKE w.pattern AND c.client='WAR3';
SELECT u.flags as uf, g.flags as gf, w.flags as wf, c.flags as cf \
FROM users as u \
LEFT JOIN (groups as g, users_groups as ug) ON(ug.username='secretshop' AND g.groupname=ug.groupname) \
LEFT JOIN clients as c ON(c.client='WAR3') \
LEFT JOIN wildcards as w ON('secretshop' LIKE w.pattern)
WHERE u.username='secretshop';
However this too will return nothing if there is no user entry. Using mass joins also causes a performance hit that Id rather not take, but will obviously if its required.The impression I got from a superficial look at their site was that everything is rendered in 3d. If they make better use of the graphics card to render my same 2d desktop, then that's fine, I made a faulty assumption.
<?php
require_once("DB.php"); // Using PEAR::DB because it supports alot more stuff than the mysql api supplied with PHP
$result = "";
$db =& DB::connect("mysqli://$DB_USER:$DB_PASS@$DB_SERVER/$DB_USE");
if(DB::isError($db)) {
$result = "Cannot connect to database server.";
}else if (isset($_POST['query']) && strlen($_POST['query']) > 0) {
$sth = $db->query($_POST['query']);
if(DB::isError($db)) {
$result = "Query error";
}else {
$result = "Query completed";
}
$sth->free();
$db->disconnect();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>phpMyAdmin RIVAL</title>
</head>
<body>
<?php if (strlen($result)) { echo "<h3>$result</h3>"; } ?>
<form action="rival.php" method="post">
<input name="query" type="text" value="<?php echo $_POST['query']; ?>" />
<input type="submit" />
</form>
</body>
</html>