1 Attachment(s)
[Release] Simple Register Page for the orginal Database
I made this simple register page for the orginal database. [it wont work with the older databases]
How to use:
1> Download it.
2> Place the files in your root folder.- For wamp is that c:\wamp\www
- For xampp is that c:\xampp\htdocs
3> Edit the config.php to your settings.
Run it and have fun with it
If there is an error..- Make sure your mssql is enabled
- Make sure you have the right settings in the config.php
- Make sure that your webserver and mssql_server are running
It free to edit to what ever you want...
UPDATE: for ODBC Connection.
Code:
<?
$DBHost = 'GunzDB'; //The DNSname of your DB (I.E: GunzDB)
$DBUser = 'game'; //Your DB User
$DBPass = 'test'; //Your DB Password
$conn = odbc_connect($DBHost, $DBUser, $DBPass);
?>
delete all in the config.php and pleace this in the config.php
Re: [Release] Simple Register Page for the orginal Database
nice man.
But I dont know what is the age of my DB lol.
Re: [Release] Simple Register Page for the orginal Database
Quote:
Originally Posted by
phpbb88
nice man.
But I dont know what is the age of my DB lol.
The age of your Database?? I think you mean the age on the registerpage. Thats how old you are...
Re: [Release] Simple Register Page for the orginal Database
Rotana i always wonder why you're not getting a moderator or whatever, you give soooo much stuff to the GunZ community!
thank you for all you do! great release
Re: [Release] Simple Register Page for the orginal Database
Quote:
Originally Posted by
kochon
Rotana i always wonder why you're not getting a moderator or whatever, you give soooo much stuff to the GunZ community!
thank you for all you do! great release
Maybe someone can suggest me to the owner or other mods?
Re: [Release] Simple Register Page for the orginal Database
Nothing against Rotana. It's just that we already have 3 mods (But two are inactive -_-) and the Gunz section is easy enough to handle with just one. HAving 4 wouldn't make any sense.
Re: [Release] Simple Register Page for the orginal Database
Quote:
Originally Posted by
RepublicOfAstra
Nothing against Rotana. It's just that we already have 3 mods (But two are inactive -_-) and the Gunz section is easy enough to handle with just one. HAving 4 wouldn't make any sense.
I know but when its needed...
Re: [Release] Simple Register Page for the orginal Database
Rotana. Great work, your one of my top tutorial givers. I have a problem:
Fatal error: Call to undefined function: mssql_connect() in c:\appserv\www\config.php on line 9
uhm.... what? o.o
heres my stuff:
<?
$Title = 'Gunz';
$Title2 = 'Full items, premiums for free and all modes';
$DBHost = '*Server*';
$DBUser = '*name*';
$DBPass = '*password*';
$DB = 'GunzDB';
$conn = mssql_connect($DBHost, $DBUser, $DBPass);
mssql_select_db($DB);
?>
i blocked out the things i didnt want anyone to see/know.
Re: [Release] Simple Register Page for the orginal Database
I think you dont have the mssql enabled in the php.ini..
I personally prefer Xampp, i dont have alot of trouble with it. And the mssql is already enabled. Only it needs an newer version of the ntwdblib.dll
Re: [Release] Simple Register Page for the orginal Database
I have it enabled as far as i know. I guess ill try Xampp. Also Rotana since you know a lot, can you post in my other thread? I need some help with a Qesting problem and no one will post. I have 2, one a moderator closed and then a new one with my mlog.xml in it. Please i really want it up and running.
Thanks again
-A Fan of your work, Khanna
Re: [Release] Simple Register Page for the orginal Database
im gettin an error
Quote:
Fatal error: Call to undefined function mssql_select_db() in C:\wamp\www\register.php on line 3
Re: [Release] Simple Register Page for the orginal Database
Quote:
Originally Posted by
UkRaiNeR
im gettin an error
You probelly dont have the mssql enabled in your php.ini..
Re: [Release] Simple Register Page for the orginal Database
SQL Server Browser = Stopped
SQL Server (SQLEXPRESS) = Running
should i turn the SQL Server Browser too?
EDIT: ps i cant turn it on
Re: [Release] Simple Register Page for the orginal Database
nvm... i switch to xampp, it worked but when actually register user it doesn't go to database i think, because in gunz i cant login :/ its says "check user & pas"
http://img404.imageshack.us/img404/1696/capture2gh1.jpg
http://img236.imageshack.us/img236/5403/capture3xl6.jpg
Re: [Release] Simple Register Page for the orginal Database
Herman does this still work if my SQL is not in sa mode?