I'm trying to write ASP code to add a new user directly into the MySQL database. I have everything figured out except for two fields: the password and registration time.

Does anyone know how to generate the proper hash code for a given password? I don't know much PHP, but any help at all would be great, and might save me a few hours of mulling through the source.

Also, can anyone explain how the datecodes are stored in the database? It's probably some MySQL standard, but I usually deal with Access and SQL Server, so if anyone knows how it stores, or the proper ASP translation code, or if there's a way to put the date & time right into the SQL statement, that would be great.

Note: we're running UBB Threads v7.1...I think.

Thanks a lot!!

Shane


RnJpZW5kc2hpcCB3aXRoIHRoZSB3b3JsZCBpcyBob3N0aWxpdH
kgdG93YXJkcyBHb2QuICBKYW1lcyA0OjQ=