What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP MSN UserID [SOLVED]

PHP MSN UserID [SOLVED]
Author: Message:
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
36 / Male / Flag
Joined: Aug 2006
O.P. PHP MSN UserID [SOLVED]
php code:
function UserId($email) {
    for($x=0, $i=0; $i < strlen($email); $i++){
      $y = ord(substr($email, $i, 1));
      $x *= 101;
      $x += $y;
      $x %= 4294967296;
    }
    return $x;
}

Any idea why that won't work? It says division by zero =/

This post was edited on 01-31-2009 at 08:02 PM by Spunky.
<Eljay> "Problems encountered: shit blew up" :zippy:
01-31-2009 07:56 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP MSN UserID [SOLVED] - by Spunky on 01-31-2009 at 07:56 PM
RE: PHP MSN UserID - by MeEtc on 01-31-2009 at 08:00 PM
RE: PHP MSN UserID - by Spunky on 01-31-2009 at 08:02 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On