Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $email = $_POST['email'];
- $nome = $_POST['name'];
- $senha = $_POST['passoword'];
- $con = mysqli_connect("mysql.hostinger.com.br","u469236901_roota","unityadmin09sys","u469236901_sysU") or die("Error " . mysqli_error($con));
- $check = "SELECT * FROM SystemLR_unity" or die("Error in the consult.." . mysqli_error($link));
- $numrows = mysql_num_rows($check);
- $result = mysqli_query($con, $check);
- if ($numrows > 0)
- {
- $senha = md5($senha);
- $ins = mysql_query("INSERT INTO SystemLR_unity ( `id` , `email` , `nome` , `senha` ) VALUES ('' , '".$email."' , '".$nome."' , '".$senha."') ; ");
- if ($ins)
- die ("User Criado Com Susseco!");
- else
- die ("Error: " . mysql_error());
- }
- else
- {
- die("Este User Ja Existe!");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement