Monthly Archives: March 2014

Security helper

March 28, 2014
By

Security Helper Author: Pouya Darabi Description: This class can validate user input for security purposes. It can validate request values to check if they are of expected types like dates, integers, email, float, array or string. The class can also filter values to prevent cross-site scripting attacks (XSS) attacks, and create hashes of passwords...

Read more »

Fortune telling phrases

March 28, 2014
By

-Ching Author: Chi Hoang Description: This class can generate fortune telling phrases with the I-Ching book of changes. It can pick random hexagrams looking of a iging table that is used to find the index of the current and the change symbol. The class can also look up the printable names of the returned...

Read more »

Tiny URL handler

March 26, 2014
By

Tiny URL Handler Author: Md. Shahadat Hossain Khan Razon Description: This class can manipulate domains URLs and their parts. Currently it can: - Get the root or a part of a domain - Get the directory or other parts of a URL - Get, change or delete a query parameter of a URL -...

Read more »

Language translation

March 14, 2014
By

Language Replace Author: Unay Santisteban Description: This class can replace strings in a document with language translations. It can load language translations for a given idiom from a PHP script with all the translations in an array. The class can take a given string and return the respective translation for the specified language. The...

Read more »

Php upload picture photo

March 12, 2014
By

PHP Upload Picture Author: catalin Description: This class can validate and resize an uploaded image file. It takes array from the $_FILES array for a given an uploaded file and checks if it has one of the allowed file name extensions, checks if it as one of the allowed MIME types, and checks if...

Read more »

Search MySQL keyword

March 11, 2014
By

PHP Search Database Author: Amin Alizade Description: This class can generate SQL to search table records for keywords. It can compose a SQL query that can search for records of a given table that have fields matching certain value patterns. The class can compose query conditions to match records with a given list of...

Read more »

Bootstrap pagination

March 8, 2014
By

PHP Pagination Using Bootstrap Author: Md. Shahadat Hossain Khan Razon Description: This class can show pagination of MySQL results for Bootstrap. It extends the MySQLi wrapper to retrieve result rows for a query to a given table to display on a given page of a paginated listing. The class can return result rows, as...

Read more »

String parsing

March 6, 2014
By

PHP String Cut Author: Schroetter Christian Description: This class can cut, remove or extract parts of a text string. It takes a text string and can perform several types of operations to manipulate parts of its contents. Currently it can: - Extract a part of a string between two delimiters - Extract a part...

Read more »

String comparison

March 4, 2014
By

PHP Diff Two Strings Author: Jan Altensen Description: This class can compare two text strings and return the changes. It takes two strings and split them in their lines to determine which lines were added and removed. The class can return an array that shows the changed lines or display the lines marked with...

Read more »