|
Posted by techcs on 09/15/06 17:50
Thanks Alvaro,
That works great.. Much appreciated..
Col
> *** techcs escribió/wrote (14 Sep 2006 14:44:16 -0700):
> > Hi, thanks for that but I get a parse error with that code, maybe I
> > have to change some of the other bit to match, will have another
> > look...
>
> I didn't test the code. Just remove the unexpected ')'.
>
>
> >> $pass='';
> >> $max=strlen($salt)-1;
> >> for($i=0; $i<$len); $i++){
> >> $pass.=$salt{mt_rand(0, $max)};
> >> }
>
> --
> -+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
> ++ Mi sitio sobre programación web: http://bits.demogracia.com
> +- Mi web de humor con rayos UVA: http://www.demogracia.com
> --
Navigation:
[Reply to this message]
|