View difference between Paste ID: TGsigVnt and EE64d4bS
SHOW: | | - or go back to the newest paste.
1
<?php
2
	if(isset($_POST['send'])) {
3-
	$username = sec($_POST['username']);
3+
		$username = sec($_POST['username']);
4-
	$fname = sec($_POST['fname']);
4+
		$fname = sec($_POST['fname']);
5-
	$lname = sec($_POST['lname']);
5+
		$lname = sec($_POST['lname']);
6-
	$password = md5(sec($_POST['password']));
6+
		$password = md5(sec($_POST['password']));
7-
	$email = sec($_POST['email']);
7+
		$email = sec($_POST['email']);
8-
	if(!$username||!$fname||!$lname||!$password||!$email) {
8+
		if(!$username||!$fname||!$lname||!$password||!$email) {
9-
		print "אנא מלא את כל השדות";
9+
			print "אנא מלא את כל השדות";
10
		}
11
	}
12
?>