
Originally Posted by
iShockYouuu
When i try do the setup i get
Code:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'login'@'localhost' (using password: YES) in /home/hackingc/public_html/login/install.php on line 80
Connection failed.
Any idea?
Let's say your name is nub1337
Any db name would therefore be nub1337_dbname
Try the following hosts:
nub1337@localhost
nub1337_localhost
localhost@noob1337
If it does not work, enter the servers ip.
################################
################################
Cosco requested a php script that shows ALL users with
Username: X IP: X HWID:X
Create a users.php
[php]
?php
include("conn.php");
/*
id
username
password
email
ip
hwid
activationlink
activated
banned
*/
$query = "SELECT Username,IP,HWID FROM users ORDER BY Username ASC";
$result = mysql_query($query);
//display it more nicely
echo "<table align=\"center\" border=\"0\" cellspacing=\"1\" bgcolor=\"#000000\" cellpadding=\"5\" width=\"800\">
<tr bgcolor=\"#314477\">
<th><font color=\"#ffffff\" size=\"+2\">Pending Activations</font></th>
</tr>
<tr bgcolor=\"#ffffff\">
<td>
<center>";
//loop through
while($row = mysql_fetch_object($result))
{
echo "<b>Username: </b>$row->Username || IP: <b>$row->IP</b> ||
<b>HWID: </b> $row->HWID
<br>";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>";
?>
[/php]