Ok first off i'm having the same problem as some others are. My server is Arcemu/Ascent. I can get people to connect to my server just fine.. but when they try and go to the account creation page i've set up it tells them the connection was reset while trying to reach the server please try again. And I can go to the account creation page from my own comp using the address i have from no-ip with DUC running on my desktop but when i try and create an account it says:
Code:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\runner.php on line 16
FAIL, try again
But my runner.php file is exactly as you had it:
Code:
<html>
<body>
<?php
error_reporting(E_ALL);
$name = $_POST['username'];
$pass = $_POST['password'];
$flags=0;
if(!empty($_POST['TBC'])){
$flags+=8;
}
if(!empty($_POST['WotLK'])){
$flags+=16;
}
mysql_connect("localhost","root","ascent");
mysql_select_db("logondb");
if(mysql_num_rows(mysql_query("SELECT * FROM `accounts` WHERE `login`='$name'"))>0){ <------- Line 16 is here
echo "UBER FAIL USERNAME TAKEN";
}else{
if(mysql_query("INSERT INTO accounts (login, password,flags) VALUES('$name', '$pass', '$flags' ) ")){
echo"SUPER COOL AWESOME WORKNESS";
}else{
echo"FAIL, try again";
}
}
?>
</body>
</html>
This is my realms.config as well just so u can see that I have it set correctly:
Code:
<Realm1 Name = "PwNsTaR Extreme Realm"
Address = "pwnstar-wow.servegame.org:8129"
Icon = "PVP"
Population = "1.0"
TimeZone = "1">
And for those who are wondering where to DL Xampp since there is no link on that page anywhere you can get it here:
Code:
http://www.apachefriends.org/en/xampp-windows.html#641