This function allows you to quickly calculate how many words a string contains. Very useful for word processor scripts!
Using this handy codesnippet you can easily ban several troublemakers from your website. Please note though that this is far from foolproof, and people can very easily get around it, by using a proxy or changing their IP address (e.g. dial-up users, AOL users, etc).
Vinu Thomas shows us how to backup your MySQL database, and restore it safely. Perfect for creating backup copies, in case of server failures.
Jason Cartwright gives us a brief explanation on PHP and what it can be used for. If you’re new to PHP, then this should be the first article for you to read!
Robert Plank discusses htaccess wrappers and what they can be used for. If you’d like to watermark your images or add headers to all your HTML documents, then this is the article for you!
Robert Plank shows us how to protect your ClickBank products, using PHP. No more worrying about managing databases or customer lists!
PHP is a very powerful scripting language, and you can use all that power in combination with the power of a command line. Robert Plank shows us how!
With this short codesnippet you can easily check if a file exists on your server.
This codesnippet can be used to login into a FTP server, and then upload a file. Common use might be for backup purposes on a off-site FTP server.
With this codesnippet you can very easily list all the files in a directory, effectively creating a web-based filemanager (if you extend it with other functions).