This package can be use to get the contacts of friends of different e-mail providers and social networks.
It can access the Web services servers of different networks to retrieve the contacts of friends of a given user.
Each network is accessed by the means of plug-in classes. Some plug-ins support sending invitation messages to friends to be added to the user contacts.
Currently it comes with plug-ins that support many networks such as:
Veriword is a PHP Captcha system thats generate a question in form of an image with random baffle text or in another form such as an animated flash. The class is capable of picking a random word, generate captcha and store the word in an encrypted session variable for posterior validation eventually in a form on which it is used to prevent robots to have automated access.
Current features of VeriWord are:
A. Generation and rendering of Captcha images (as JPEG/PNG/GIF/WBMP) or flash (as SWF) at runtime for inclusion in an existing entry form. VeriWord use captcha engine (see class.captcha.php) which uses three other classes to compose captcha. These classes are:
1. WordGenerator (class.wordgenerator.php) generates random word from dictionary file or create spelled random word. Three type of random word are:
> DictionaryWord, pick a random word from dictionary.
> SemiDictionaryWord, pick a random word from dictionary then plus with random suffix.
> RandomWord, pick a nonsence word by composing consonants and vowels, so the word can be spelled by human.
2. WordArt (class.wordart.php) creates distorted word with random TrueType fonts from font directory. This class calls Filter to create baffle text of the word. Check existing filter on class.filter.php, you may add your filter to make your captcha is unique than others. Two type of WordArt are:
> Linear, write a word in linear manner.
> NonLinear, write a word in various size, angle, vertical position for each characters.
Some existing filters are:
> Wavy, distort a word image by waving object using sin or cos functions.
> Bubbly, disturb a word image by filling object with tens of bubbles.
> BreakType, distort a word image by reducing pixels.
3. NoiseGenerator (class.noisegenerator.php) picks a random background from noise directory or create one on the fly. These types are:
> BackgroundNoise, pick a noise image from noises directory. The image format can be JPEG or GIF with dimension about 100 x 50 pixles.
> RandomNoise, create a noise image on the fly by drawing lines in a range of angles. You may add or change the way of noise creation, for example grid background or gradient color background.
o Expecially for FlashCaptcha (class.flashcaptcha.php), this flash is created using Ming module (make sure you use the latest version), the captchaing is done by disturbing the word with animated bars and bubbles, the human still able to read the word but robot can't.
B. Configuration made in veriword.ini file that parsed by ConfigReader (class.configreader.php), this parsing done in VeriWord creation.
C. Store random word in md5 encrypted session variable.
D. Verify the posted word using VeriFicator class. At the present, this class only has one job, that is verifying the word. Next time, I want to add the capability by extending more functionalities, such as monitoring, tracking or banding.
Access data in MySQL tables using object notations
This package can be used to store and retrieve data in MySQL databases using intuitive object notations.
There are several classes that abstract the access to a MySQL database table in order to create, read, update and delete database table rows as if they were objects.
This class can be used to display images for CAPTCHA validation.
It can display an image with a random text that the user needs to read and enter in a form to authorize the access to resources to real human users. The text is rendered over a given obfuscation image. The length, font and size of the text is configurable.
The validation text is stored in a session variable for posterior validation.
The validation image format can be either GIF, JPEG or PNG.
Access to e-mail mailboxes using the POP3 protocol
Class that implements the access to mail boxes using the POP3 protocol.
It features:
- Support secure connections using TLS
- Provides a stream wrapper class to access messages like files using fopen('pop3://user:pass@localhost/1', 'r');
- POP3 server access using normal and apop login methods
- Authentication mechanisms implemented by SASL client class like: PLAIN, LOGIN, CRAM-MD5, NTLM (Windows or Linux/Unix via Samba), etc..
- Determining mailbox statistics (mail box size in bytes and the number of stored messages)
- Listing of individual message sizes and identifier numbers
- Retrieving messages in data blocks of limited size to not exceed the available memory
- Retrieving messages all at once separating the headers from the body and limiting the number of message lines that may be retrieved at once
- Marking messages to be deleted
- Resetting the list of messages to be deleted
- Issuing of protocol NOOP command to avoid connection shutdown while in idle state
This package can be used to show and process database access forms using AJAX.
There is one class that can generate HTML and Javascript to display form fields and have them validated immediately after the field values are changed.
Another class can validated and process the forms submitted via AJAX to update MySQL database records according to mappings also stored in the database.
This class implements a MySQL database access wrapper. A lot of examples. Well commented code. It can:
- Establish database connections
- Validate SQL queries
- Execute SQL queries and fetch result rows into arrays or objects
- Build SQL queries from lists of parameters
- Manage transactions
- Display query results in HTML tables made of DIV tags
- Caches results
- Added layer of security
- Advanced Debug Capabilities
- Error Logging