[Beta] Loginsystem

Posts 1630 of 34 · Page 2 of 3
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?
Quote Originally Posted by iShockYouuu View Post
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]
Quote Originally Posted by Blubb1337 View Post
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]
Now i get 2 error's lol

[php]Warning: fopen(conn.php) [function.fopen]: failed to open stream: Permission denied in /home/hackingc/public_html/login/install.php on line 136

Warning: fwrite(): supplied argument is not a valid stream resource in /home/hackingc/public_html/login/install.php on line 138
Couldn't access conn.php.[/php]

You wanna TV me? And help me set it up?
Quote Originally Posted by iShockYouuu View Post
Now i get 2 error's lol

[php]Warning: fopen(conn.php) [function.fopen]: failed to open stream: Permission denied in /home/hackingc/public_html/login/install.php on line 136

Warning: fwrite(): supplied argument is not a valid stream resource in /home/hackingc/public_html/login/install.php on line 138
Couldn't access conn.php.[/php]You wanna TV me? And help me set it up?
I think you need to provide read and write access to conn.php file. (777 in FTP terms will do it)
Quote Originally Posted by Hassan View Post


I think you need to provide read and write access to conn.php file. (777 in FTP terms will do it)

Thanks dude.. it worked
Quote Originally Posted by Hassan View Post


I think you need to provide read and write access to conn.php file. (777 in FTP terms will do it)
True. You need the access to read/write files.
how can i fix the dll source

Code:
#Region "Private Functions"

    Private Function GetHWID()
        Return "1337"
    End Function

#End Region
so it's real HWID? im no good at dll's


this pissed me off when i was mass baning this spamer and it baned me to.
Wooooops xDDDD

Forgot to change that.

Just modify the function so it actually returns the reeal HWID
Quote Originally Posted by Blubb1337 View Post
Wooooops xDDDD

Forgot to change that.

Just modify the function so it actually returns the reeal HWID
Choob.
Quote Originally Posted by Jason View Post


Choob.
less flaming? he did a mistake for pete's sake.
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'roflol'@'10.33.248.81' (using password: YES) in /homeol/public_html/login/conn.php on line 14
Connection failed.

D:
Quote Originally Posted by flameswor10 View Post
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'roflol'@'10.33.248.81' (using password: YES) in /homeol/public_html/login/conn.php on line 14
Connection failed.

D:
That means you couldn't connect to the mysql database you got. Btw, nice x10 hosting ip.
Quote Originally Posted by mnpeepno2 View Post
less flaming? he did a mistake for pete's sake.
Lol, we're friends. We always give each other shit for the smallest things


Quote Originally Posted by flameswor10 View Post
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'roflol'@'10.33.248.81' (using password: YES) in /homeol/public_html/login/conn.php on line 14
Connection failed.

D:
Possibly the same error as discussed previously; You don't have read/write access to the php file.
Nice to see someone incorporating PHP with their project. I don't see it a lot. Good job though.
Hey blub, got a question for ya, when i get on a comp i'll PM ya.
Posts 1630 of 34 · Page 2 of 3
This thread is closed for replies.

Tags for this Thread

None

Need help?