mail is a simple PHP library for writing messages and the user's IP to a text file. The 'mail' PHP library works by logging a user's message, IP address and date to a text file and then locking the file file via chmod.
To prevent spamming, a filtering algorithm is hardcoded in the library, so no more than 10 messages can be posted from the same IP. The library is kind of similar to the guest script, with some modifications nevertheless.
- There's no UI for this guestbook script, only one PHP file that handles writing the user's message to a local text file. Some UI coding might be needed in implementing this library.
More popular Guestbook
- 2.1 KB
- 05/17/2013 16:32:26