PHP hash

Kyle Wheeler <[email protected]> Fri, 3 Aug 2007 12:10:11 -0500
Newsgroups gmane.mail.ezmlm
Message-ID <[email protected]>
Hello,

I'm trying to work out a good way to connect a homegrown PHP website I 
run to the ezmlm list it supports.

The website is essentially a news site (think slashdot). Whenever new 
stories are posted, a message is sent to the mailing list. Currently, 
what then happens is I go to the ezmlm list archives, find the new 
message, get its thread ID, and associate that thread ID with the 
article (so that I can have a direct link, and embed an iframe 
containing the ezmlm-browse messages page).

This all works well, but it's somewhat a pain to go capture the thread 
ID for each new story.

If I understand ezmlm correctly, that thread ID is generated from some 
details of the message that I handed it (just the Subject line, 
right?). So, I *think* I should be able to figure out what the thread 
ID will be at the time I hand the message to ezmlm for delivery. 
However, I'm having trouble replicating the hash based on my 
code-dives into ezmlm.

Can any give me a hand? Is there a succinct description of this hash 
function anywhere? A perl/PHP implementation I can steal/modify for my 
purposes? Any help would be appreciated.

~Kyle
-- 
Of course it's the same old story. Truth usually is the same old 
story.
                                                  -- Margaret Thatcher
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFGs2FzBkIOoMqOI14RAjkRAJ9ltCR9D96J6sHIxWPTrVUoPW0rfwCeNpUB
aQiptemcDnzg3j4UznnfmkM=
=oE9y
-----END PGP SIGNATURE-----