This function allows you to quickly calculate how many words a string contains. Very useful for word processor scripts!
Word Count
Sunday, May 23rd, 2004Ban certain IP addresses
Sunday, May 23rd, 2004Using 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).
Backing Up And Restoring Your MySQL Database
Sunday, May 23rd, 2004Vinu Thomas shows us how to backup your MySQL database, and restore it safely. Perfect for creating backup copies, in case of server failures.
Overview: PHP
Sunday, May 23rd, 2004Jason 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!
.htaccess Wrappers with PHP
Saturday, May 22nd, 2004Robert 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!
Clickbank Security Using PHP
Saturday, May 22nd, 2004Robert Plank shows us how to protect your ClickBank products, using PHP. No more worrying about managing databases or customer lists!
PHP in the Command Line
Saturday, May 22nd, 2004PHP 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!
Check if files exists
Saturday, May 22nd, 2004With this short codesnippet you can easily check if a file exists on your server.
FTP Upload
Saturday, May 22nd, 2004This 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.
List all files in a directory
Saturday, May 22nd, 2004With 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).