Code: Select all
<?php
$salt = 'SHIFLETT';
$password_hash = md5($salt . md5($_POST['password'] . $salt));
?>Besides that, I also see this code always
Code: Select all
<?php
$clean = array();
$mysql = array();
$clean['last_name'] = "O'Reilly";
$mysql['last_name'] = mysql_real_escape_string($clean['last_name']);
$sql = "INSERT
INTO user (last_name)
VALUES ('{$mysql['last_name']}')";
?>I can't seem to find neither the "salty" thingy nor the $clean array in php manual . Some PHP.Pros please tell me what are these. Thanks.