Archive | PHP RSS feed for this section

PHP Goodies

Awesome Visual Crontab Editor

I don’t regularly create cronjobs; however when I do I can never remember the proper crontab syntax. Each time I want to edit my crontab I have to fire up my codebox for reference. For some reason its the minutes and hours that screw me every time. The trusty old reference below just doesn’t do [...]

Continue Reading

Create an Error Page to Handle all HTTP Errors with PHP

From the land of “why the hell didn’t I think of this sooner”… The following is a drop dead simple method to handling all HTTP error (403, 404, 500 etc.) pages with one single PHP file and a few tweaks to your htaccess. .htaccess Code The first step is to create/modify your .htaccess file. The [...]

Continue Reading

Automatically Update Your Copyright Notice Date

Every year some lonely web folks are wasting time updating the copyright dates on their various websites footers. Since we have jumped head first into 2012 lets start the year off right. The following will show you how to use PHP to automatically update your notice. Display Current Year Add Your Copyright Text I’m sure [...]

Continue Reading

Business Days To/Fro with PHP

The below example will help you with finding or setting a date to and/or fro using business days only. I needed this for a project I was working on and thought I would share. Enjoy

Continue Reading

Super Simple Page Cache with PHP

Here is a super simple way serve up a cached version of your HTML. Modified from WESBOS

Continue Reading

PHP Snippets – The Name Says it All

I’ve been following a new website via Twitter. PHP Snippets (www.phpsnippets.info) posts frequent useful PHP code samples. PHP Snippets is maintained by Jean-Baptiste Jung, author of Cats Who Code and WPRecipes. PHP Snippets is a great place to find clean code samples to get you started on your project. I hope Jean keeps up the [...]

Continue Reading

Dropbox Tips & Tricks – My Top 5

I love Dropbox; it’s simply amazing and über helpful. Appstorm has published several posts with some really useful Dropbox tips. Below are the five tips and ticks I can’t live without. Tips & Tricks If you’re not familiar with Dropbox, let me first start out by saying you’ve been missing out. There is a large [...]

Continue Reading

Happy Birthday PHP

Happy 15th Birthday to the awesome PHP. Back in 1995, Rasmus Lerdorf issued the first public release of PHP. What is PHP? PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Now you know! PHP Website – http://php.net Related Posts

Continue Reading

How to Easily Monitor Your web Server Using PHP

In order to make sure that your website is always available to the public, you have to monitor it. In this tutorial, I’ll show you how you can easily create a monitoring script that will check your website availability and send an email or sms alert to you if it isn’t. via How to easily [...]

Continue Reading

PHP hide_email()

A PHP function to protect the E-mail address you publish on your website against bots or spiders that index or harvest E-mail addresses for sending you spam. It uses a substitution cipher with a different key for every page load. via PHP hide_email().

Continue Reading