[RELEASE]Ondine Registration Script / Databasebackup

11/24/2011 21:02 Turtlefight#1
This was a Script,
now its NULL
11/24/2011 21:10 Xijezu#2
1. Why the fuck u r using odbc_connect? x_X
2. Databasebackupscript...
Why?
Rightclick on Database -> Backup
OR
Use my Backupmanager. :awesome:

Edit:
mysql_real_escape_string ?!
This is Microsoft SQL, not MySQL...
I dunno if it is working, but ... Its MSSQL, not MySQL :facepalm:
11/24/2011 21:15 Turtlefight#3
Yes but it makes characters like " to \"
in your login scrip (i have tested it) you can enter as username the symbol "
so i can manipulate your Query Select * from.....
when i enter ") GO DROP Telecaster GO -- the Telecaster DB wont exist anymore ;)

And the Query is for PHP-Files so you can make an Admin-Pannel so you musnt log in in your Server all Time you want to make a backup -- Thats the Idea

And at all... Its working ;)
11/24/2011 21:34 Xijezu#4
PHP Code:
$user preg_replace ("[^A-Za-z0-9]"""$_POST['username']); 
I think thats better.
Why do you want special chars as login/password?

Also you didnt answered my question about odbc_connect ;)
11/24/2011 22:01 Turtlefight#5
ODBC connect because i hate mssql connect and so....
i think odbc is easier to use ;)
--i have tried to use your function above, but i doesnt raplace these chars ;)
I was able to crete an account with '-' or ' ' or '/' so i think it dont work

Warum reden wi eigentlich Englisch??? xD

MfG,
Turtlefight
11/24/2011 22:06 Xijezu#6
.... stirb! XD

PHP Code:
$user preg_replace ("[^A-Za-z0-9]"""$_POST['username']);  
if(
$user != $_POST['username']) {
echo 
'Login Failed. Now GTFO!';

Wird so benutzt. :D

Und zum odbc_connect, ich vermeide den lieber.. Hat persönliche Gründe.
11/25/2011 03:33 RoflcopterGoesSoiSoiSoi#7
that's some messy as f code
11/25/2011 03:53 Turtlefight#8
But its safe ;)
01/30/2012 13:04 Exterminator-[Fury]#9
cant connect to database...

can anyone help me with this?