no..infatti è questo che non mi suona..ecco lo script..
function randomPassword () {
$length ="8"; // the length of the password required
$possible = '23456789'
. 'abcdefghijkmnpqrstuvwxyz'
. 'ABCDEFGHJKLMNPQRSTUVWXYZ';
$str ="";
while (strlen($str) < $length) {
$str.=substr($possible, (rand() % strlen($possible)),1);
}
return($str);
}
$password=trim(randomPassword());
$request="update utenti set password=MD5('".$password."') where username='". $_POST["username"] ."' and email='".$_POST["email"]."'";
$result = mysql_query ($request,$link);
mi sapete aiutare??

Rispondi quotando