Need Some Help!

07/03/2010 13:42 Zack666#1
Hy, i need help with a 5165 reg page using Mysql. i used one that i found on epvp and it doesnt work , keeps giving me some errors, if someone could help me please.:handsdown:
07/03/2010 13:55 dodolinobobo#2
one question...have you tried to edit the config file or to check the tables ? and then post the question?
07/03/2010 14:02 Zack666#3
Ofcourse!
07/03/2010 14:27 ~Master#4
could you post the errors?
07/04/2010 20:19 Zack666#5
Quote:
Warning: mysql_connect() [function.mysql-connect]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306) in C:\AppServ\www\config.php on line 30

Warning: mysql_connect() [function.mysql-connect]: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\AppServ\www\config.php on line 30

Fatal error: Maximum execution time of 60 seconds exceeded in C:\AppServ\www\config.php on line 30
thats the error i get when im trying to acces, and this is how config.php looks like:

Quote:
<?php
//require_once './inc/class.captcha.php';
// Configurations
$myhost='localhost'; // MySQL database address
$mypass='1234'; // MySQL server login
$myuser='root'; // MySQL server pass

$accdb='coSXserver'; //your server account database
//$accdb='account'; //your server account database
$gamedb='coSXserver'; //your server game database

//register.php
$passhash=false; // set to true if u wish to save hash of pass instead of plain text pass

//status.php
$serveraddress='5.94.42.0'; //your server ip
$serverport=5816; //your server connection port
$servername='SupremacyCo'; //your server name

//ranks.php
$tableSet=' width="440" border="1" align="center"'; // rank tables settings html code
$limit=33; //records[lines/rows] limit for ranks table
$limit2=13; //records[lines/rows] limit for half of an rank table guilds



// DON'T CHANGE ANYTHING BELOW THIS LINE
// // // // // // // // // // // // // // // // // // // //
// even more if u dont know what u r doing !!!
$MySQL=mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($gamedb);
If somebody has the files to make the register page working, itll be great. no need of a complex page, just 2 boxes to fill acc and password!
10/13/2011 16:59 al3xtasy#6
You probaly use a mysql server not a OLDCOB one , this register page its for OLDCOB and the user and pass will be added in OLDCOB\User\
Look for a register page for mysql :) , anything you will do to this reg page wont do :)
By the way the website you're looking for it has reg.php not register.php
Over and out