echo "<center><b><u>The account was successfully created. Have fun !</b></u></center><br><br>"; echo "<center>Here is your login info again:</center>"; echo "<center>Your account name is: <b>".$accname."</b></center>"; echo "<center>Your password is: <b>".$accpass1."</b></center>"; echo "DO NOT LOOSE THIS INFO!"; }
$result1 = mssql_query("SELECT * FROM account.dbo.USER_PROFILE WHERE user_id = '".$accname."'",$con);
$result2 = mssql_query("SELECT * FROM account.dbo.Tbl_user WHERE user_id = '".$accname."'",$con);
$result3 = mssql_query("SELECT * FROM account.dbo.Tbl_user WHERE user_mail = '".$accmail."'",$con);
if(empty($accname) || empty($accpass1) || empty($accpass2)|| empty($accname) || empty($accmail)) {
echo "<br>You didnt fill in all fields<a href='javascript:history.back()'>Go Back</a>";
} elseif($row1 > '0' || $row2 > '0') {
echo "<br>This Account name already exists.<a href='javascript:history.back()'>Go Back</a>";
} elseif($row3 > '0') {
echo "<br>This E-Mail is already in use.<a href='javascript:history.back()'>Go Back</a>";
} elseif($accpass1 != $accpass2) {
echo "<br>The passwords did not match<a href='javascript:history.back()'>Go Back</a>";
} elseif($accpass1 == $accname) {
echo "<br>Account name and password are the same.<a href='javascript:history.back()'>Go Back</a>";
} elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $accname)) {
echo "<br>Enter a account name only with 0-9 , a-z and A-Z.<a href='javascript:history.back()'>Go Back</a>";
} elseif(!preg_match("/^[0-9a-zA-Z]{3,15}$/i", $accpass1)) {
echo "<br>Enter a password only with 0-9 , a-z and A-Z.<a href='javascript:history.back()'>Go Back</a>";
} elseif(!preg_match("/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/i",$accmail)) {
echo "<br>Your e-Mail is not correct.<a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($accname) < 3 || strlen($accname) > 15) {
echo "<br>The Accountname must at least 3 indications long and may maximally 15 indications long.<a href='javascript:history.back()'>Go Back</a>";
} elseif(strlen($accpass1) < 3 || strlen($accpass1) > 15) {
echo "<br>The Password must at least 3 indications long and may maximally 15 indications long.<a href='javascript:history.back()'>Go Back</a>";
} else {
$accpass = md5($accpass1);
mssql_query("INSERT INTO account.dbo.USER_PROFILE (user_no,user_id,user_pwd,resident_no,user_type,lo gin_flag,login_tag,ipt_time,login_time,logout_time ,user_ip_addr,server_id) VALUES ('$dk_user_no','".$accname."','".$accpass."','8010 11000000','1','0','Y','".$date."',null,null,null,' 000')",$con);
mssql_query("INSERT INTO account.dbo.Tbl_user (user_no,user_id,user_pwd,user_mail,user_answer,us er_question) VALUES ('$dk_user_no','".$accname."','".$accpass1."','".$ accmail."','0','0')",$con);
echo "<center><b><u>The account was successfully created. Have fun !</b></u></center><br><br>";
echo "<center>Here is your login info again:</center>";
echo "<center>Your account name is: <b>".$accname."</b></center>";
echo "<center>Your password is: <b>".$accpass1."</b></center>";
echo "DO NOT LOOSE THIS INFO, YOU MAY WRITE IS DOWN AND HIDE IT";
}
Janvier script use mssql codes which cant be used with PHP 5.2.x +, since php_mssql.dll extension is no longer supported/used.
When i try to make an account, i put all infos needed and when i press "Create Account" nothing happen. :\ any help?
I've been able to get create account button to work, but the script put wrong info into tbl_user (like $accname, $accpass1 etc, not their values) and nothing into user_profile :|
echo "<center><b><u>The account was successfully created. Have fun !</b></u></center><br><br>"; echo "<center>Here is your login info again:</center>"; echo "<center>Your account name is: <b>".$accname."</b></center>"; echo "<center>Your password is: <b>".$accpass1."</b></center>"; echo "DO NOT LOOSE THIS INFO!"; } } else { $serverName = "xxxxxxxxxxxxxx"; $connectionInfo = array("UID" => "xxxxxxxx", "PWD" => "xxxxxxxxxx", "Database"=>"Account"); $con = sqlsrv_connect( $serverName, $connectionInfo);
[question] How to change country at payment page( uridium page) 10/06/2012 - DarkOrbit - 7 Replies Hi! epvp :)
i want to buy premium, but i see the price 6 euro for one month.
normally i buy premium for 1 month is 5 euro.
6 euro because the country, someone know how to change the country? :confused:
thankyou before :)
'Laa
[S] Facebook Page-Banner und Page-Profil-Bild 07/07/2012 - General Art - 1 Replies Suche Facebook Page-Banner und Page-Profil-Bild
hey leute ich suche jemand der mir ein Facebook Page Banner macht also der große Banner der oben ist
und der mir noch ein Page Profil Bild machen könnte.
Da unser derzeitiger einfach nur scheiße aussieht :D
Im Banner müsste ein iPhone sein und der Name Technik NonStop bei dem rest könnt ihr euch austoben soll halt aber gut aussehen
Technik NonStop | Facebook
Ich bedanke mich jetzt schonmal für eure Hilfe