PHP Code:
}
else
{
$required=array(
"Username"=>$_POST[username],
"E-Mail"=>$_POST[email],
"Password"=>$_POST[password],
);
Fail ;)
_____________________________________________________
PHP Code:
}
else
{
$required=array(
"Username"=>$_POST['username'],
"E-Mail"=>$_POST['email'],
"Password"=>$_POST['password'],
);
PHP Code:
function rand_string() {
$chars = "123456789";
$size = strlen($chars);
for($i = 0; $i < 5; $i++) {
$str .= $chars[rand(0, $size - 1)];
}
return $str;
}
Fail ;)
__________________________________________________________________
PHP Code:
function rand_string() {
$chars = "123456789";
$str = "";
$size = strlen( $chars );
for( $i = 0; $i < 5; $i++ ) {
$str .= $chars[ rand( 0, $size - 1 ) ];
}
return $str;
}
PHP Code:
if($_POST[action]!="signup")
{
echo "<form method='post' onSubmit='disabledBttn(this)' action=".$_SERVER[PHP_SELF]."?id=reg".$_SERVER[QUERY_STRING].">
Fail ;)
_____________________________________________________
PHP Code:
if(!isset($_POST['action']) || $_POST['action'] != "signup")
{
echo "<form method='post' onsubmit='disabledBttn(this)' action=".$_SERVER['PHP_SELF']."?id=reg".$_SERVER['QUERY_STRING'].">
and more ;)