• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Error with Php

Initiate Mage
Joined
Mar 27, 2017
Messages
4
Reaction score
0
Hey there!

Im trying fix a register from:

http://forum.ragezone.com/f593/regi-script-odin-files-893328/

I fixed several issues but I still get this one:

kASbn8L - Error with Php - RaGEZONE Forums

I tried all but I cant fix that... Can anyone help me?

{
$query = "INSERT INTO [Account].[dbo].[tAccounts] ([nEMID],[sUsername],[sUserPass],[sUserPassSalt],[sEmail],[nAuthID],[sIP]) VALUES (".rand_string().",'$_POST[username]','$_POST[password]','$_POST[password]','$_POST',3,'127.0.0.1')";
$q = odbc_exec($connection, $query);
if($q)
echo"Username, <b>$_POST[username]</b> has been registered!";
}
}
else
echo"Please re-enter username and password, remove all special characters!";

}

[/QUOTE]

PD: Sorry for my english :(:
 

Attachments

You must be registered for see attachments list
Experienced Elementalist
Joined
Jul 6, 2014
Messages
222
Reaction score
14
Enable odbc extensions in php.ini.

Verstuurd vanaf mijn SM-G900F met Tapatalk
 
Back
Top