Registratieformulier

Gestart doorRemcoboy7 reacties35 weergaven

8 berichten · pagina 1 van 1

Remcoboy

Lid · Topicstarter

Berichten
4.749
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoe haal ik hier adres1 + 2 en postcode uit ?

[COLOR= #0000BB]<?php[/COLOR]    [URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_COOKIE[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"usNick"[/COLOR][COLOR= #007700]]) &&[/COLOR] [URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_COOKIE[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"usPass"[/COLOR][COLOR= #007700]])){[/COLOR] ?>
    <META HTTP-EQUIV="REFRESH" CONTENT="0;URL=myaccount.php">
[COLOR= #0000BB]<?php[/COLOR] 
    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();}[/COLOR] 

    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]]){[/COLOR]
        [COLOR= #0000BB]$username[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]];[/COLOR]
        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR] [URL="http://www.php.net/strtolower"]strtolower[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]code[/COLOR][COLOR= #007700]])!=[/COLOR] [URL="http://www.php.net/strtolower"]strtolower[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]texto[/COLOR][COLOR= #007700]])){[/COLOR] 
            [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Security Code Error"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
            [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
            [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
        }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
            [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/config.inc.php[/COLOR][COLOR= #007700]);[/COLOR]

            [COLOR= #0000BB]$firstname[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"firstname"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$surname[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"surname"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$username[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"username"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$password[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"password"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$cpassword[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"cpassword"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$email[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"email"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$cemail[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"cemail"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$pemail[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"pemail"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$address1[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"address1"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$address2[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"address2"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$city[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"city"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$state[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"state"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$zip[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"zip"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$country[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"country"[/COLOR][COLOR= #007700]];[/COLOR]

            [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$firstname[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$surname[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$country[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]){[/COLOR]
                [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* All fields are required"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
            }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                [COLOR= #0000BB]$firstname[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$firstname[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$surname[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$surname[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$username[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$password[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$cpassword[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$email[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$cemail[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$pemail[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$address1[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$address1[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$address2[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$address2[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$city[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$city[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$state[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$state[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$zip[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$zip[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$country[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$country[/COLOR][COLOR= #007700]);[/COLOR]

                [COLOR= #0000BB]$username[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]15[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$password[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]15[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]15[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$email[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]100[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]100[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]100[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$country[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$country[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]150[/COLOR][COLOR= #007700]);[/COLOR]

                minimo[COLOR= #007700]([/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700]);[/COLOR]
                minimopass[COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]);[/COLOR]

                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]!=[/COLOR][COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700]) {[/COLOR]
                    [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Passwords Do Not Match"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                    [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700]!=[/COLOR][COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700]) {[/COLOR]
                        [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Emails Do not Match"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                        [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                        [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                        ValidaMail[COLOR= #007700]([/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700]);[/COLOR]
                        ValidaMail[COLOR= #007700]([/COLOR][COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700]);[/COLOR]

                        [COLOR= #0000BB]$laip[/COLOR] [COLOR= #007700]=[/COLOR] getRealIP[COLOR= #007700]();[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$laip[/COLOR][COLOR= #007700]!=[/COLOR][COLOR= #DD0000]"127.0.0.1"[/COLOR][COLOR= #007700]){[/COLOR]
                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                [COLOR= #0000BB]$checkip[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT ip FROM yob_users WHERE ip=$laip"[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$ip_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkip[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();
                        }[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ip_exist[/COLOR][COLOR= #007700]>[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
                            [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]header.php[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* You have already created an account"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                            [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                            [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                        }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                [COLOR= #0000BB]$checkuser[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT username FROM yob_users WHERE username=$username"[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$username_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkuser[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$checkemail[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT email FROM yob_users WHERE email=$email"[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$email_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkemail[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$checkpemail[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT pemail FROM yob_users WHERE pemail=$pemail"[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$pemail_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkpemail[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();[/COLOR]
                            [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$email_exist[/COLOR][COLOR= #007700]>[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]|[/COLOR][COLOR= #0000BB]$username_exist[/COLOR][COLOR= #007700]>[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
                                [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Username or Email Already in Use"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                                [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                                [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                            }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$pemail_exist[/COLOR][COLOR= #007700]>[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
                                    [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Your Payment Email is Already in Use"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                                    [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                                    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                                }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                                    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"referer"[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700]) {[/COLOR]
                                        [COLOR= #0000BB]$referer[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"referer"[/COLOR][COLOR= #007700]]);[/COLOR]
                                        [COLOR= #0000BB]$referer[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$referer[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]15[/COLOR][COLOR= #007700]);[/COLOR]
                                        [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]    
                                            [COLOR= #0000BB]$checkref[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT username FROM yob_users WHERE username=$referer"[/COLOR][COLOR= #007700]);[/COLOR]
                                            [COLOR= #0000BB]$referer_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkref[/COLOR][COLOR= #007700]);[/COLOR]
                                        [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();[/COLOR]
                                        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$referer_exist[/COLOR][COLOR= #007700]<[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]) {[/COLOR]
                                            [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* The referrer you entered doesnt exist"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                                            [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                                            [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                                        }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                                [COLOR= #0000BB]$sqlz[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT * FROM yob_users WHERE username=$referer"[/COLOR][COLOR= #007700];[/COLOR]
                                                [COLOR= #0000BB]$resultz[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sqlz[/COLOR][COLOR= #007700]);[/COLOR]        
                                                [COLOR= #0000BB]$myrowz[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$resultz[/COLOR][COLOR= #007700]);[/COLOR]
                                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();[/COLOR]
                                            [COLOR= #0000BB]$numero[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #0000BB]$myrowz[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"referals"[/COLOR][COLOR= #007700]];[/COLOR]
                                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                                [COLOR= #0000BB]$sqlex[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"UPDATE yob_users SET referals=$numero +1 WHERE username=$referer"[/COLOR][COLOR= #007700];[/COLOR]
                                                [COLOR= #0000BB]$resultex[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sqlex[/COLOR][COLOR= #007700]);[/COLOR]
                                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();
                                        }
                                    }[/COLOR]
                                    [COLOR= #0000BB]$joindate[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"F j, Y"[/COLOR][COLOR= #007700]);[/COLOR]
                                    [COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/sha1"]sha1[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]);[/COLOR]
                                    [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                        [COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"INSERT INTO yob_users (firstname, surname, username, password, ip, email, pemail, referer, address1, address2, city, state, zip, country, joindate, paymentmethod) VALUES($firstname,$surname,$username,$pass,$laip,$email,$pemail,$referer,$address1,$address2,$city,$state,$zip,$country,$joindate, Dutchleader)"[/COLOR][COLOR= #007700];[/COLOR]
                                        [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
                                    [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();[/COLOR]
                                    [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* You have been registered correctly <b>$username</b>. Now you can <a href="login.php">login</a>."[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                                    [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                                    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]

[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]header.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
        <div id="content">
  <form action="signup.php" method="post" class="f-wrap-1">
            <div class="req">Alle velden verplicht</div>
          <fieldset>
  
  <h3>Registreren</h3>
<label for=""><b>Voornaam:</b>
<input type="text" name="firstname" class="f-name" autocomplete="off" tabindex="1" /><br />
            </label>
  
    <label for=""><b>Achternaam:</b>
    <input type="text" name="surname" class="f-name" autocomplete="off" tabindex="2" /><br />
            </label>
  
    <label for=""><b>Gebruikersnaam:</b>
    <input type="text" name="username" class="f-name" autocomplete="off" tabindex="3" /><br />
            </label>
  
  
    <label for=""><b>Wachtwoord:</b>
    <input type="password" name="password" class="f-name" autocomplete="off" tabindex="4" /><br />
            </label>
  
    <label for=""><b>Wachtwoord:</b>
    <input type="password" name="cpassword" class="f-name" autocomplete="off" tabindex="5" /><br />
            </label>
  
  
    <label for=""><b>Email:</b>
    <input type="text" name="email" class="f-name" autocomplete="off" tabindex="6" /><br />
            </label>
  
  
    <label for=""><b>Herhaal Email:</b>
    <input type="text" name="cemail" class="f-name" autocomplete="off" tabindex="7" /><br />
            </label>
  
  
    <label for=""><b>PayPal Adres:</b>
    <input type="text" name="pemail" class="f-name" autocomplete="off" tabindex="8" /><br />
            </label>

 
      <label for=""><b>Adres 1:</b>
    <input type="text" name="address1" class="f-name" autocomplete="off" tabindex="9" /><br />
            </label>
  
  
    <label for=""><b>Adres 2:</b>
    <input type="text" name="address2" class="f-name" autocomplete="off" tabindex="10" /><br />
            </label>
  
  
    <label for=""><b>Stad:</b>
    <input type="text" name="city" class="f-name" autocomplete="off" tabindex="11" /><br />
            </label>
  
  
    <label for=""><b>Provincie:</b>
    <input type="text" name="state" class="f-name" autocomplete="off" tabindex="12" /><br />
            </label>
  
  
    <label for=""><b>Postcode:</b>
    <input type="text" name="zip" class="f-name" autocomplete="off" tabindex="13" /><br />
            </label>
  
  
    <label for=""><b>Land:</b>
    <select name="country" class="f-name" autocomplete="off" tabindex="14" >
                <option value="">Selecteer je land</option>
                <option value=Belgi>Belgie</option>
                <option value=>Nederland</option>
                </select><br />
            </label>
            
            
    <label for=""><b>Referal:</b>
    <input type="text" name="referer" value="Geen referer" class="f-name" autocomplete="off" tabindex="16" /><br />
            </label>

    <label for=""><b>Beveiligingscode:</b>
    <input type="text" name="code" class="f-name" autocomplete="off" tabindex="17" /><br />
            </label>
      
  
            <label for="code2"><b>&nbsp;</b>
    <img src="image.php?[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$res[/COLOR][COLOR= #007700];[/COLOR] ?>" /><br />
            </label>
  
             <div class="f-submit-wrap">
            <input type="submit" value="Registreer" class="f-submit" tabindex="18" /><br />
            </div>
            </fieldset>
            </form>



[COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]footer.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
0
Tom

Lid

Berichten
3.868
Reputatie
0
Punten
0,02
Lid sinds
Laatst gezien
Probeer dit is:

<label for=""><b>Referal:</b>
    <input type="text" name="referer" value="Geen referer" class="f-name" autocomplete="off" tabindex="16" /><br />
            </label>
0
Remcoboy

Lid · Topicstarter

Berichten
4.749
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nice opgelost, volgende komt nu in topic.
0
Berichten
20.364
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Probeer dit is:

[COLOR= #0000BB]<?php[/COLOR]    [URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]
    [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_COOKIE[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"usNick"[/COLOR][COLOR= #007700]]) &&[/COLOR] [URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_COOKIE[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"usPass"[/COLOR][COLOR= #007700]])){[/COLOR] ?>
    <META HTTP-EQUIV="REFRESH" CONTENT="0;URL=myaccount.php">
[COLOR= #0000BB]<?php[/COLOR] 
    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();}[/COLOR] 

    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]]){[/COLOR]
        [COLOR= #0000BB]$username[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]];[/COLOR]
        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR] [URL="http://www.php.net/strtolower"]strtolower[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]code[/COLOR][COLOR= #007700]])!=[/COLOR] [URL="http://www.php.net/strtolower"]strtolower[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]texto[/COLOR][COLOR= #007700]])){[/COLOR] 
            [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Security Code Error"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
            [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
            [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
        }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
            [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]includes/config.inc.php[/COLOR][COLOR= #007700]);[/COLOR]

            [COLOR= #0000BB]$firstname[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"firstname"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$surname[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"surname"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$username[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"username"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$password[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"password"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$cpassword[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"cpassword"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$email[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"email"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$cemail[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"cemail"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$pemail[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"pemail"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$city[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"city"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$state[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"state"[/COLOR][COLOR= #007700]];[/COLOR]
            [COLOR= #0000BB]$country[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"country"[/COLOR][COLOR= #007700]];[/COLOR]

            [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$firstname[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$surname[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]|[/COLOR][COLOR= #0000BB]$country[/COLOR][COLOR= #007700]==[/COLOR]NULL[COLOR= #007700]){[/COLOR]
                [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* All fields are required"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
            }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                [COLOR= #0000BB]$firstname[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$firstname[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$surname[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$surname[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$username[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$password[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$cpassword[/COLOR] [COLOR= #007700]=[/COLOR] uc[COLOR= #007700]([/COLOR][COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$email[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$cemail[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$pemail[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$city[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$city[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$state[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$state[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$country[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$country[/COLOR][COLOR= #007700]);[/COLOR]

                [COLOR= #0000BB]$username[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]15[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$password[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]15[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]15[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$email[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]100[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]100[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]100[/COLOR][COLOR= #007700]);[/COLOR]
                [COLOR= #0000BB]$country[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$country[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]150[/COLOR][COLOR= #007700]);[/COLOR]

                minimo[COLOR= #007700]([/COLOR][COLOR= #0000BB]$username[/COLOR][COLOR= #007700]);[/COLOR]
                minimopass[COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]);[/COLOR]

                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]!=[/COLOR][COLOR= #0000BB]$cpassword[/COLOR][COLOR= #007700]) {[/COLOR]
                    [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Passwords Do Not Match"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                    [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700]!=[/COLOR][COLOR= #0000BB]$cemail[/COLOR][COLOR= #007700]) {[/COLOR]
                        [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Emails Do not Match"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                        [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                        [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                        ValidaMail[COLOR= #007700]([/COLOR][COLOR= #0000BB]$email[/COLOR][COLOR= #007700]);[/COLOR]
                        ValidaMail[COLOR= #007700]([/COLOR][COLOR= #0000BB]$pemail[/COLOR][COLOR= #007700]);[/COLOR]

                        [COLOR= #0000BB]$laip[/COLOR] [COLOR= #007700]=[/COLOR] getRealIP[COLOR= #007700]();[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$laip[/COLOR][COLOR= #007700]!=[/COLOR][COLOR= #DD0000]"127.0.0.1"[/COLOR][COLOR= #007700]){[/COLOR]
                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                [COLOR= #0000BB]$checkip[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT ip FROM yob_users WHERE ip=$laip"[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$ip_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkip[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();
                        }[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$ip_exist[/COLOR][COLOR= #007700]>[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
                            [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]header.php[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* You have already created an account"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                            [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                            [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                        }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                [COLOR= #0000BB]$checkuser[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT username FROM yob_users WHERE username=$username"[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$username_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkuser[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$checkemail[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT email FROM yob_users WHERE email=$email"[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$email_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkemail[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$checkpemail[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT pemail FROM yob_users WHERE pemail=$pemail"[/COLOR][COLOR= #007700]);[/COLOR]
                                [COLOR= #0000BB]$pemail_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkpemail[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();[/COLOR]
                            [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$email_exist[/COLOR][COLOR= #007700]>[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]|[/COLOR][COLOR= #0000BB]$username_exist[/COLOR][COLOR= #007700]>[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
                                [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Username or Email Already in Use"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                                [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                                [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                            }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$pemail_exist[/COLOR][COLOR= #007700]>[/COLOR][COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
                                    [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* Your Payment Email is Already in Use"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                                    [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                                    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                                }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                                    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"referer"[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]""[/COLOR][COLOR= #007700]) {[/COLOR]
                                        [COLOR= #0000BB]$referer[/COLOR] [COLOR= #007700]=[/COLOR] limpiar[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"referer"[/COLOR][COLOR= #007700]]);[/COLOR]
                                        [COLOR= #0000BB]$referer[/COLOR][COLOR= #007700]=[/COLOR]limitatexto[COLOR= #007700]([/COLOR][COLOR= #0000BB]$referer[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]15[/COLOR][COLOR= #007700]);[/COLOR]
                                        [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]    
                                            [COLOR= #0000BB]$checkref[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT username FROM yob_users WHERE username=$referer"[/COLOR][COLOR= #007700]);[/COLOR]
                                            [COLOR= #0000BB]$referer_exist[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$checkref[/COLOR][COLOR= #007700]);[/COLOR]
                                        [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();[/COLOR]
                                        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$referer_exist[/COLOR][COLOR= #007700]<[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]) {[/COLOR]
                                            [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* The referrer you entered doesnt exist"[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                                            [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                                            [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                                        }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
                                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                                [COLOR= #0000BB]$sqlz[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"SELECT * FROM yob_users WHERE username=$referer"[/COLOR][COLOR= #007700];[/COLOR]
                                                [COLOR= #0000BB]$resultz[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sqlz[/COLOR][COLOR= #007700]);[/COLOR]        
                                                [COLOR= #0000BB]$myrowz[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_array"]mysql_fetch_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$resultz[/COLOR][COLOR= #007700]);[/COLOR]
                                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();[/COLOR]
                                            [COLOR= #0000BB]$numero[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #0000BB]$myrowz[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]"referals"[/COLOR][COLOR= #007700]];[/COLOR]
                                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                                [COLOR= #0000BB]$sqlex[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"UPDATE yob_users SET referals=$numero +1 WHERE username=$referer"[/COLOR][COLOR= #007700];[/COLOR]
                                                [COLOR= #0000BB]$resultex[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sqlex[/COLOR][COLOR= #007700]);[/COLOR]
                                            [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();
                                        }
                                    }[/COLOR]
                                    [COLOR= #0000BB]$joindate[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"F j, Y"[/COLOR][COLOR= #007700]);[/COLOR]
                                    [COLOR= #0000BB]$pass[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/sha1"]sha1[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$password[/COLOR][COLOR= #007700]);[/COLOR]
                                    [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]connect[COLOR= #007700]();[/COLOR]
                                        [COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"INSERT INTO yob_users (firstname, surname, username, password, ip, email, pemail, referer, city, state, country, joindate, paymentmethod) VALUES($firstname,$surname,$username,$pass,$laip,$email,$pemail,$referer,$city,$state,$country,$joindate, Dutchleader)"[/COLOR][COLOR= #007700];[/COLOR]
                                        [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
                                    [COLOR= #0000BB]$myDb[/COLOR][COLOR= #007700]->[/COLOR]close[COLOR= #007700]();[/COLOR]
                                    [COLOR= #0000BB]$display_error[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]"* You have been registered correctly <b>$username</b>. Now you can <a href="login.php">login</a>."[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #FF8000]// error language[/COLOR]
                                    [URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]error.php[/COLOR][COLOR= #007700]);[/COLOR]
                                    [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700]();
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]

[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]header.php[/COLOR][COLOR= #007700]);[/COLOR]
 ?>
        <div id="content">
  <form action="signup.php" method="post" class="f-wrap-1">
            <div class="req">Alle velden verplicht</div>
          <fieldset>
  
  <h3>Registreren</h3>
<label for=""><b>Voornaam:</b>
<input type="text" name="firstname" class="f-name" autocomplete="off" tabindex="1" /><br />
            </label>
  
    <label for=""><b>Achternaam:</b>
    <input type="text" name="surname" class="f-name" autocomplete="off" tabindex="2" /><br />
            </label>
  
    <label for=""><b>Gebruikersnaam:</b>
    <input type="text" name="username" class="f-name" autocomplete="off" tabindex="3" /><br />
            </label>
  
  
    <label for=""><b>Wachtwoord:</b>
    <input type="password" name="password" class="f-name" autocomplete="off" tabindex="4" /><br />
            </label>
  
    <label for=""><b>Wachtwoord:</b>
    <input type="password" name="cpassword" class="f-name" autocomplete="off" tabindex="5" /><br />
            </label>
  
  
    <label for=""><b>Email:</b>
    <input type="text" name="email" class="f-name" autocomplete="off" tabindex="6" /><br />
            </label>
  
  
    <label for=""><b>Herhaal Email:</b>
    <input type="text" name="cemail" class="f-name" autocomplete="off" tabindex="7" /><br />
            </label>
  
  
    <label for=""><b>PayPal Adres:</b>
    <input type="text" name="pemail" class="f-name" autocomplete="off" tabindex="8" /><br />
            </label>

 

  
  
    <label for=""><b>Stad:</b>
    <input type="text" name="city" class="f-name" autocomplete="off" tabindex="11" /><br />
            </label>
  
  
    <label for=""><b>Provincie:</b>
    <input type="text" name="state" class="f-name" autocomplete="off" tabindex="12" /><br />
            </label>
  
  
 
  
    <label for=""><b>Land:</b>
    <select name="country" class="f-name" autocomplete="off" tabindex="14" >
                <option value="">Selecteer je land</option>
                <option value=Belgi>Belgie</option>
                <option value=>Nederland</option>
                </select><br />
            </label>
            
            
    <label for=""><b>Referal:</b>
    <input type="text" name="referer" value="Geen referer" class="f-name" autocomplete="off" tabindex="16" /><br />
            </label>

    <label for=""><b>Beveiligingscode:</b>
    <input type="text" name="code" class="f-name" autocomplete="off" tabindex="17" /><br />
            </label>
      
  
            <label for="code2"><b>&nbsp;</b>
    <img src="image.php?[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$res[/COLOR][COLOR= #007700];[/COLOR] ?>" /><br />
            </label>
  
             <div class="f-submit-wrap">
            <input type="submit" value="Registreer" class="f-submit" tabindex="18" /><br />
            </div>
            </fieldset>
            </form>



[COLOR= #0000BB]<?php[/COLOR] 
[COLOR= #007700]}[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]footer.php[/COLOR][COLOR= #007700]);[/COLOR] 
?>
0
Remcoboy

Lid · Topicstarter

Berichten
4.749
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Shahiem schreef:
Probeer dit is:
....


* All fields are required
0
Tom

Lid

Berichten
3.868
Reputatie
0
Punten
0,02
Lid sinds
Laatst gezien
Probeer dit is:

htmlentities[naam];


Vervang naam door het gewenste woord en misschien moet er nog echo voor htmlentities, maar daar ben ik niet zeker van.
0
Remcoboy

Lid · Topicstarter

Berichten
4.749
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
@Tom hoe bedoel je ?
0
Berichten
74
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Het ligt eraan je moet ook adress1 en adress2 uit je database verwijderen
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren