That's the sad fact that not everyone know it. For example when levin bought the optool from u, he didn't even know who is glossy, and who made the optool.
And the other sad factj now everyone know it, and still trading with it, and 0 money goes to me. Gaining money with someone else's work, YEP, It's all I ever wanted
That's the sad fact that not everyone know it. For example when levin bought the optool from u, he didn't even know who is glossy, and who made the optool.
And the other sad factj now everyone know it, and still trading with it, and 0 money goes to me. Gaining money with someone else's work, YEP, It's all I ever wanted
That's the sad fact that not everyone know it. For example when levin bought the optool from u, he didn't even know who is glossy, and who made the optool.
And the other sad factj now everyone know it, and still trading with it, and 0 money goes to me. Gaining money with someone else's work, YEP, It's all I ever wanted
I'm know that tool is created by you. and I did not give him any money!
Quote:
Originally Posted by .Arrogunz™
Do it, with tut I still dont know how to use it xDD Just errors *-*
I fixed the errors and I think now you should sell shiny. Because he created the tool!
only he can sell the tool
// Process the POST data.
if(isset($_POST) && !empty($_POST)){
// Validate user name.
if(empty($username)){
$errors[] = 'Please provide a user name.';
}else if(strlen($username) < 3 || strlen($username) > 16){
$errors[] = 'User name must be between 3 and 16 characters in length.';
}else if(ctype_alnum($username) === false){
$errors[] = 'User name must consist of numbers and letters only.';
}else{
// Check if username already exists in the database.
$sql = "SELECT szUserID FROM TGLOBAL_GSP.dbo.TACCOUNT WHERE szUserID = ?";
$stmt = odbc_prepare($GLOBALS['dbConn'],$sql);
$args = array($username);
if(!odbc_execute($stmt,$args)){
$errors[] = 'Failed to determine if this username already exists in the database.';
}elseif($row = odbc_fetch_array($stmt)){
$errors[] = 'User name already exists, please choose a different user name.';
}
}
// Validate user password.
if(empty($password)){
$errors[] = 'Please provide a password.';
}else if(strlen($password) < 3 || strlen($password) > 16){
$errors[] = 'Password must be between 3 and 16 characters in length.';
}else if($password != $password2){
$errors[] = 'Passwords do not match.';
}
// Validate reCAPTCHA. This is to prevent someone botting account creation.
$response = recaptcha_check_answer($recaptcha_private_key,$_SERVER['REMOTE_ADDR'],$_POST['recaptcha_challenge_field'],$_POST['recaptcha_response_field']);
if(!$response->is_valid){
if($response->error == 'incorrect-captcha-sol'){
$errors['recaptcha'] = 'Incorrect answer to reCAPTCHA';
}else{
$errors['recaptcha'] = $response->error;
}
}
// Persist the new account to the database if no previous errors occured.
if(count($errors) == 0){
$Salt = md5($password);
$sql = "INSERT INTO TGLOBAL_GSP.dbo.TACCOUNT
(szUserID,szPasswd,bCheck)
VALUES (?,'$Salt',1)";
$stmt = odbc_prepare($GLOBALS['dbConn'],$sql);
$args = array($username,$password,$user_ip);
if(odbc_execute($stmt,$args)){
$success = htmlentities("Account {$username} successfully created!");
}else{
// This means the insert statement is probably not valid for your database. Fix the query or fix your database, your choice ;)
$errors[] = 'Failed to create a new account, please try again later';
}
}
}
Your script:
PHP Code:
// Process the POST data.
if(isset($_POST) && !empty($_POST)){
// Validate user name.
if(empty($username)){
$errors[] = 'Please provide a user name.';
}else if(strlen($username) < 6 || strlen($username) > 16){
$errors[] = 'User name must be between 6 and 16 characters in length.';
}else if(ctype_alnum($username) === false){
$errors[] = 'User name must consist of numbers and letters only.';
}else{
// Check if username already exists in the database.
$sql = "SELECT szUserID FROM TGLOBAL_GSP.dbo.TACCOUNT WHERE szUserID = ?";
$stmt = odbc_prepare($GLOBALS['dbConn'],$sql);
$args = array($username);
if(!odbc_execute($stmt,$args)){
$errors[] = 'Failed to determine if this username already exists in the database.';
}elseif($row = odbc_fetch_array($stmt)){
$errors[] = 'User name already exists, please choose a different user name.';
}
}
// Validate user password.
if(empty($password)){
$errors[] = 'Please provide a password.';
}else if(strlen($password) < 6 || strlen($password) > 16){
$errors[] = 'Password must be between 6 and 16 characters in length.';
}else if($password != $password2){
$errors[] = 'Passwords do not match.';
}
// Persist the new account to the database if no previous errors occured.
if(count($errors) == 0){
$Salt = ($password);
$sql = "INSERT INTO TGLOBAL_GSP.dbo.TACCOUNT
( szUserID,szPasswd,bCheck)
VALUES (?,'$Salt',1)";
$stmt = odbc_prepare($GLOBALS['dbConn'],$sql);
$args = array($username,$password,$user_ip);
if(odbc_execute($stmt,$args)){
$success = htmlentities("Account {$username} successfully created!");
}else{
// This means the insert statement is probably not valid for your database. Fix the query or fix your database, your choice ;)
$errors[] = 'Failed to create a new account, please try again later';
}
}
}
[RELEASE] Marhet4S & Avalon 4S CMS 01/31/2014 - 4Story - 8 Replies Hey,
hier release ich 2. meiner CMS, die ihr für euren Privat Server benutzen könnt.
Ihr müsst einfach die Config.php und die db.config.php bearbeiten, und eure MYSQL und SQL Server Daten dort eingeben. Um die Website auf eurem PC laufen zu lassen braucht ihr Wamp oder XAMPP. Wenn ihr fragen habt im Thread oder einfach eine PN.
Download Marhet4S: klick mich hart *-*
Download Avalon4S:Klick mich richtig hart *_*
Bitte beachtet das diese CMS Lücken haben können! In der Marhet Seite ist im...
[RELEASE] Avalon Heroes HACK's AvaPwn's 12/18/2011 - General Gaming Releases - 19 Replies I made this a while ago, and im only releasing the adventure and scenario mode hacks. ( hacking in battle mode is kinda lame -.- )
To avoid easy leeching:
My in game name is Kilgorin
now you should figure out what to change in the script.
if you dont, you suck noob leecher.