Register page

06/23/2009 20:33 spock122#1
How to get your registerpage to work with ur navicat and sql? for eudemons. i can get the page working but it only gives me a code to put into my navicat and i half to do this everytime some1 signs up?..is there anyway to make it where it would put there code and id in automaticly like how or wat to edit to get my ragister page to work with my navicat or my eudemons server?...:pimp:
06/23/2009 21:21 ArabianPrince#2
that not aregister page here is aregister page [Only registered and activated users can see links. Click Here To Register...]
steps to do it.
1- put the content of the rar in the c:/wamp/www
2 go to c:/wamp/Apache ..run apache
use [Only registered and activated users can see links. Click Here To Register...] to see it .. to make players see it give them your hamchi ip or external ip
06/23/2009 22:18 spock122#3
One more question man wat apache do i run theres alot of apache programs in that folder like heres where im goin Wamp\bin\apache\apache2.2.11\than wat? oh and thanks for your help also
06/23/2009 23:58 ArabianPrince#4
this one one in the Attachments..
06/24/2009 02:48 spock122#5
ok man i have the page and accounts creat succesfully but how to connect the register page to navicat database the registerpage says this **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. ** but when i go to my navicat witch i need to run my eudemons server it dont show the account i created witch means if someone tryes to register for my ps he/she will not be able to get on because thiere account is not showing up in my navicat database..
06/24/2009 06:13 DemonicCoding#6
Make sure you have atleast one account already in your database.
06/24/2009 06:20 spock122#7
When i creat an account on my register page it wont put the name or the password in my navicat database and i allready have like 5 names in mydatabase
06/24/2009 06:31 hio77#8
Quote:
Originally Posted by spock122 View Post
When i creat an account on my register page it wont put the name or the password in my navicat database and i allready have like 5 names in mydatabase
check the database that it is configured to add the account to
06/24/2009 06:39 spock122#9
this is wat it says when i creat an account.................................
Notice: Undefined variable: mydbacc in C:\wamp\www\register.php on line 72

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) 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

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) 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

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\register.php on line 88

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\register.php on line 90

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\register.php on line 90
Account registered successfully.
06/24/2009 06:42 hio77#10
Quote:
Originally Posted by spock122 View Post
this is wat it says when i creat an account.................................
Notice: Undefined variable: mydbacc in C:\wamp\www\register.php on line 72

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) 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

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) 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

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\wamp\www\register.php on line 88

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\register.php on line 90

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\register.php on line 90
Account registered successfully.

Undefined variable can be silenced by putting an @ at the start of that line

as for the other issues its all in your mysql

:rolleyes::rolleyes:
06/24/2009 06:57 DemonicCoding#11
It looks like you don't the reg page configured correctly.

If you open the register.php file edit where it says
Code:
	$mydbacc="account";		//your server account database
Most likely your using either my or my2.

If the db that contains your account is in the my it will look like

Code:
$mydbacc="my"
If its the my2 it will be

Code:
$mydbacc="my2"
06/24/2009 07:19 spock122#12
when i try to run mysql i cant open my database is there anyother way to get people to sign up on my eo ps without having a registerpage?...im usin navicat to run my server and if some1 signs up i half to add there name and pass into navicat data base before they can logg in but doin it that way is gonna take for ever and even with the registerpage working its still not connected to my navicat wat im tryin to say is u can creat an account on my registerpage but it will not work for the eudemons server...because the register page is not in anyway connected to my navicat or server and thats wat i need help with how on earth do i get my registerpage to work with either my server or my navicat database??...
06/24/2009 07:28 DemonicCoding#13
If you create the account through navicat, just look on the left to see what the database name is. That will tell you what to make the variable. Here's an example.

[Only registered and activated users can see links. Click Here To Register...]



So in my case my variable would look like this:

Code:
$mydbacc="my";		//your server account database
06/24/2009 07:36 spock122#14
well mines the same exact thing as your lol but if some1 was to sign up on the registerpage for my eo ps you see your pic where it says account?....well the person who signed up thier account name should be in ther correct?....but its not so that means that person will not be able to play on server and im tryin to get it to where when they register on the page ther username will show up in the account tab in my navicat but they dont and srry if im a pain lol i dont mean to be i been at it for days still nothin....
06/24/2009 08:09 hio77#15
this is because the database or user name/pass must be wrong (in the settings)