My first github repo -- a collection of PHP Snippets.
Entries tagged with "php"
PHP Snippets now available on Github
Perform WHOIS Query with PHP
Query WHOIS using PHP.
Decoding keywords used in search engines
PHP function to decode keywords used by search engines. Determine what search keywords drive traffic to your site.
BBCode, Syntax Highlighting and more
Add BBCode support and Syntax highlighting using PHP. To make the blog even easier to use, I thought I'd get away from using HTML in my entries altogether. I also wanted a way to easily paste code and have it highlighted. Works on nested tags!
Counting code
Count how many lines of code are in a project using this PHP script. Searches directories recursively.
Regular Expression Replace in All Files and Subdirs
Recursively search and replace in files using this PHP script. Follows subdirectories and uses regular expressions for search and replace. Allows file extensions to be specified.
Building a Blog using PHP
Learn how to build a blog system using PHP and MySQL. I thought I'd share my experience after rebuilding the site blog system. This entry will cover building a simple blog system like the one found on this site, using code that is also available on thi
RSS News Aggregator, Contact Form, and More
Added News section to the site, which acts as a simple PHP RSS aggregator (with really nice URLs). Rewrote the PHP Blog System and published the code online. Added a contact form.