Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

registrarion page set up

Newbie Spellweaver
Joined
Jan 8, 2012
Messages
23
Reaction score
2
hi again, guys.
mKey, thnx for "php" link :D
now i got reg page, but i have some problem with setup.
i have installed Apache XAMP at my pc, but it doesn't work, because no connection with MsSQL.
any body know solution of problem?
or maybe i need some MsSQL module for Apache, etc..
Need help guys. Thank you
 
Newbie Spellweaver
Joined
Nov 15, 2011
Messages
28
Reaction score
5
You must show your error or apache log first :(
If it not connect to db, check the db.config.php or something like that and correct your server, user, pass, database... etc
 
Upvote 0
Newbie Spellweaver
Joined
Jan 8, 2012
Messages
23
Reaction score
2
hm, Pandea, Fatal error: Call to undefined function mssql_connect()
 
Upvote 0
Newbie Spellweaver
Joined
Nov 15, 2011
Messages
28
Reaction score
5
That mean your Apache isn't load mssql_php library by default.
Try follow this way:
1. Stop your Apache
2. open php.ini location in C:/window
3. find this:
Code:
;extension=php_mssql.dll
and remove the ; at the start.
4. Start your Apache and try your register page again.
OR you can try this code to see mssql function is aready for use or not
Code:
<?php
//Config for testing
$host = '127.0.0.1';
$user = 'username';
$pass = 'password';

echo "<center>";
echo "<h3>MSSQL Function Tests</h3>";

//testing for MSSQL function
if(function_exists('mssql_connect')){
echo "MSSQL functions existing...";
$mcon = mssql_connect($host,$user,$pass);
if($mcon){echo "and connections are possible!";}
}else{echo "MSSQL functions non existant!";}

?>

5. If mssql_php library still not load so try to copy the ntwdblib.dll location in php5 folder to Apache bin folder, system and system32 folder (system and system32 folder location in C:/window/). After that, restart your Apache and try again.

Wish ya luck!
 
Upvote 0
Newbie Spellweaver
Joined
Jan 8, 2012
Messages
23
Reaction score
2
pandea60, Thank you very much!
now i have a connection with mssql, but have a registration script and i dont know what data i have to insert...
Code:
$connect = mssql_connect('test1', 'test2', 'test3')
so test1 its MSSQL server name, test2 data base user, and test 3 its data base user's password?
 
Upvote 0
Retired (Goddamn idiots)
Joined
Dec 3, 2003
Messages
391
Reaction score
483
Please, for your own sake, refer here:
And if you wish to have it in your own language, refer here:
If you still don't understand what the hell you're doing, roll over and die, and let the rest of us be devoid of your ignorant posts.

-With love, all of the ACE Online section.
 
Upvote 0
Newbie Spellweaver
Joined
Nov 15, 2011
Messages
28
Reaction score
5
Hum! Look like u dun know anything about php. Contact me on yahoo: mosse911 I will teach u some basic "action" ^^
Or you can buy my ACE User control panel with some feature like: register, change pass, change email, reset nation, ranking, vote, exchange vote point for spi/wp/credit... etc :p
 
Upvote 0
Newbie Spellweaver
Joined
Feb 6, 2009
Messages
74
Reaction score
22
mssql wont work anymore. Use ODBC Connect or my new released reg_script here:
 
Upvote 0
Back
Top