[Help] Reg page

06/04/2010 14:13 sinhy#1
Im getting this error when reg-ing , using apache and php from xamp and sql and a diff service, only 1 sql service running
Quote:
Notice: Undefined variable: mydbacc in C:\wamp\www\register.php on line 72

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\register.php on line 88
Account registered successfully.
Any ideas?
06/04/2010 14:30 Eurion#2
Quote:
Originally Posted by sinhy View Post
Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\wamp\www\register.php on line 72

Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\wamp\www\register.php on line 72

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\wamp\www\register.php on line 72

Deprecated: Function ereg() is deprecated in C:\wamp\www\register.php on line 81

Warning: mysql_query() [function.mysql-query]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\wamp\www\register.php on line 87

Warning: mysql_query() [function.mysql-query]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\wamp\www\register.php on line 87

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\register.php on line 87
Your PHP version is too new for the mysql that the servers require. I user PHP version 5.2.8 on my testing server and it works fine.
06/04/2010 14:31 sinhy#3
Yeh, just worked that one out lol thanks
06/04/2010 21:34 HwabiFury#4
Use xampp it's way better than crappy wamp lol and you don't need wamp5 if you turn on mysql on xampp
06/04/2010 22:02 sinhy#5
well got it working, just pissed off cause of IP... gotta use hamachi or get a dns /vpn
06/04/2010 22:46 HwabiFury#6
Yup lol
06/05/2010 00:16 ~WARNING~#7
you could have easily fixed that error by changing the mysql queries from lets say select * from account to select * from my.account