Mailinglisten-Archive |
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C0D3BA.8F8AF1F0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
> * J=F6rg Klinge wrote:
> > eine M=F6glichkeit an sichere ID zu kommen
>=20
> md5(uniqid("fooblafaselmagic"));
>=20
> Sauber. Sicher. Einfach. Eineindeutig.
>=20
Oder so:
$sessionid =3D md5(str_replace(".","",$remote_addr) +
mt_rand(100000,999999));
Nimmt noch die IP Adresse hinzu
------_=_NextPart_001_01C0D3BA.8F8AF1F0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>AW: [php] Einmalige Erkennungs ID erzeugen</TITLE>
</HEAD>
<BODY>
<BR>
<P><FONT SIZE=3D2>> * J=F6rg Klinge wrote:</FONT>
<BR><FONT SIZE=3D2>> > eine M=F6glichkeit an sichere ID zu =
kommen</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> =
md5(uniqid("fooblafaselmagic"));</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> Sauber. Sicher. Einfach. Eineindeutig.</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>Oder so:</FONT>
</P>
<P> <FONT SIZE=3D2> =
$sessionid =3D md5(str_replace(".","",$remote_addr) =
+ mt_rand(100000,999999));</FONT>
<BR><FONT SIZE=3D2>Nimmt noch die IP Adresse hinzu</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C0D3BA.8F8AF1F0--
php::bar PHP Wiki - Listenarchive