Count the words typed using exlpode function
Simple random color generator.
Use the keyword search engine php record antecedents and user search input
it redirects to the specified url in 3 seconds
Stops PHP from sending a fresh version of an image if the browser already has it in its cache.
Validating email address using regular expression. This Regex can be used to search email addresses on text that produce list of emails in array, and also match email format from HTML form input.
Sometimes you need to do preg_replace on user input. Don't forget to escape all special characters or you'll get funny results.
This PHP script helps you execute SQL statements or .sql file with PHP. There is a good deal of tutorials for this but we are going to use mysqli and its built-in commands to quickly execute small or large number of SQL statements or .sql file with PHP. It's functionality is similar to "Import" option in Mysql database. Because it greatly simplifies the task of executing sql statements quickly and without any hassle. Since this is implemented in PHP core classes, you can use it in anywhere including any frameworks (you may need slight customization or need to find relevant statements in respective frameworks, but it always works).
This will test for whether a word is a stopword. A.K.A. a word that is commonly found in sentences.
The definition of Friendly URL defined and explained in simple language
This class has lots of common functionality built right into it. It also supports Mysql and Sphinx.
A easy way to create simple INSERT / UPDATE query's to MySql In the scrip change the value for $url, $dbuser and $pwrd
This script allows adding first and last name to a file (users.log) and then just read it out to the screen. It can be used for creating a guest book without a database.
Takes a string and shortens it, but if it is in the middle of a word, go to the next space and end there.
sa poum edite apre
This function lists all of the sub directories in a directory
none for now
Function that creates the options for a selection list of countries. Takes input of selected country and sets the option to selected. If nothing else, this should save others a bunch of typing and copy&paste.
This basic snippet will calculate how many seconds it to a script to start and then end.
NOTE: THIS IS NO LONGER SUPPORTED BY TWITTER!
Take a user name, and load the users feed to display on a page.