Rappelz Private Server Registration Script

06/28/2011 22:12 s0ul37#16
I cannot manage that, I installed XAMPP, went to the php.ini and edited it like you said. Then I just manually connected to my FileZilla Server and uploaded register.php script.

It says: Fatal error: Call to undefined function mssql_connect() in /users/maskulin/www/register.php on line 9
06/28/2011 23:14 RoflcopterGoesSoiSoiSoi#17
The "mssql_" API was disabled in PHP 5.3+. Use "sqlsrv_" and install the SQLSRV drivers.
06/29/2011 07:08 wisp66#18
this also means you need to rewrite the script to use the sqlsrv drivers so if u dont know php id probly read up on that first but it does work as Roflcopter has pointed out.
06/29/2011 20:38 s0ul37#19
I just downloaded filezilla, pasted the script into txt and saved it as name.hp, inserted my database info, and uploaded it to ftp.

then i downladed XAMPP and installed these drivers...and i have got a php.ini in xampp/php folder which i have already changed.

the same error comes up... do i have to put php.ini into ftp server too or something.. or does it have to be a local ftp ?!? (??) cause i dont know what xampp is for.

i need a step by step tutorial for idiots like me XD
07/02/2011 14:08 GeneraL_SchnitzeL#20
wie füge ich den script ein :s? hab sowas noch nie gemacht. hab die zeilen in xampp php.ini file geändert , und dann?
07/08/2011 11:40 endy23#21
Fatal error: Call to undefined function mssql_connect() in C:\xampp\htdocs\index.php on line 9
and i did it step by step i configured php.ini too and doesen't work..
07/08/2011 11:44 andysky#22
For everyone else..

This script does NOT WORK Anymore!

Dies Script funktioniert nicht!
07/08/2011 12:37 read101#23
It works, lol, try using a different web-server, i used IIS7 :P
07/08/2011 12:43 andysky#24
It won't work for anyone else, by the way, it's not safe. YOu could simply make an SQL-Injection, and you'd have more GM chars on your server you wanna have^^
07/08/2011 13:45 endy23#25
can you explain pls,make a tutorial how you made with IIS7
07/08/2011 13:53 andysky#26
Endy23, make an account through the Database, this Way of doing it is way to dangerous! Someone could easily steal ALL the passwords through this Registration Script, becouse it is not Safe!
07/08/2011 14:05 endy23#27
so you mean i must make accounts from the table accounts.dbo from Auth?
07/08/2011 14:14 andysky#28
Yes. Exactly.. Simply copy the Accounts that are made, get a new MD5 Hash Passwort at

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

(click "MD5" at the bottom before inserting anything + use 2011password. the 2011 always has to be there! (do not use the 2011 while loging in ingame later))

Then just get the highest Account number and give your account this number +1 and a new ID, it should just be ready after this, it's a fresh account.
07/13/2011 00:35 Rapp3lz#29
it's work .. thanks
07/13/2011 02:13 Strean#30
Quote:
Originally Posted by andysky View Post
Endy23, make an account through the Database, this Way of doing it is way to dangerous! Someone could easily steal ALL the passwords through this Registration Script, becouse it is not Safe!
you cant steel any password with my register script with a sql injection rofl hard :'D

this is a insert in the db you know ?

you mean a sql injection via '"OR ?

that's just possible if you get entrys from the datebase..