Archive for the ‘PHP’ category

Timed One Time Password (TOTP)

August 17th, 2009

This class can be used to generate and validate one time passwords that may expire after a period of time (without using a database or saving the password of any kind).

It generates a code based on a secret key that is valid during a period of time.

The class can also be used to validate the generated code in a different server and check if the code expired.

Download class

» Read more: Timed One Time Password (TOTP)

VN:F [1.9.13_1145]
Rating: 8.0/10 (1 vote cast)

PHP Yahoo Messenger Archive Decoder

August 17th, 2009

This class can be used to parse and extract information from Yahoo Messenger chat history files.

It can parse a given chat history file and extract several details of each message that was exchanged in the chat sessions.

The class retrieves the message text and length, timestamp and the identifier of the user that sent the message.

The message text is retrieved in HTML format, but the class may strip HTML formatting.

Download class

VN:F [1.9.13_1145]
Rating: 10.0/10 (1 vote cast)

Big Number Calculator

August 17th, 2009

This class can be used to add arbitrary precision numbers in pure PHP.

It takes two decimal numbers represented as strings of unlimited length and performs an addition digit by digit.

The result is another decimal number represented as a string.

Download class

» Read more: Big Number Calculator

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)

Time online Class

August 16th, 2009

This class is meant to keep track of the time the users spend visiting the pages of a site.

It can keep track of the time spent in a single page, on the entire site using the same session or the total time since the first access.

It can display in the site HTML pages the time spent and keep displaying the time in real time so the user can see the time spent as it passes.

Download class

VN:F [1.9.13_1145]
Rating: 3.0/10 (1 vote cast)

Graf

August 16th, 2009

This class is meant for computing all the possible ways from a point to another and the distance between them.

Download class

» Read more: Graf

VN:F [1.9.13_1145]
Rating: 8.0/10 (2 votes cast)