- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
$email = $_POST['email'];
$pass = $_POST['pass'];
$name = $_POST['name'];
$famname = $_POST['famname'];
$ip = $_SERVER['REMOTE_ADDR'];
$date = date('Y-m-d [H:i:s]');
if($_GET['reg'] == 'good' && $email!="" && $name!="" && $famname!="" && $pass!="" ) {
if(!@mysql_connect('localhost', 'root', '')) {
echo 'ѥ䩱ò° ¶é¿ ã±¥ñ»‘塤ﲲó¯ ';
exit();
}
mysql_select_db('efimov');
$number = 0;
$query = "select count(uid) as c from users";
$res = mysql_query($query);
while($row = mysql_fetch_array($res)) {
$number = $row['c'] + 1;
}
if(mysql_query("insert into users values ('$number', '$name','$famname','$email','$pass','$ip','$date')")) {
echo "$name, hello";
}
}
echo '<script type="text/javascript">'.
'alert("fuuu")'.
'</script>';
Lure Of Chaos 30.08.2011 12:23 # +4
Ðй, Ефимов, ай да Ñукин Ñын!
Vasiliy 30.08.2011 12:41 # +2
nobody 30.08.2011 13:10 # −2
substr 30.08.2011 13:12 # 0
roman-kashitsyn 30.08.2011 13:13 # +1
substr 30.08.2011 13:46 # 0
guest 16.09.2011 00:02 # 0
http://vitalvoice.ru/demo/?Key=file16_2e795a593d44ec0abbfc