- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
/* Выше HTML ... */
include_once "config/mysql.php";
$email = $_POST['email'];
$password = $_POST['password'];
$confirm = $_POST['confirm'];
$email = stripslashes($email);
$email = htmlspecialchars($email);
$email = trim($email);
$password = stripslashes($password);
$password = htmlspecialchars($password);
$password = trim($password);
$confirm = stripslashes($confirm);
$confirm = htmlspecialchars($confirm);
$confirm = trim($confirm);
/* ... больше ПоХаПэ */
Мммм... О функциях не слышали?