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 [...]
Archive | PHP RSS feed for this section
PHP Goodies
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 [...]
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 [...]
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
Super Simple Page Cache with PHP
Here is a super simple way serve up a cached version of your HTML. Modified from WESBOS
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 [...]
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 [...]
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
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 [...]
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().
Welcome Friends
Thanks for visiting; hopefully you will find something interesting here. Feel free to comment or contact me with any thoughts you have regarding my website. Sonas ort!
Looking for something?
Recent Tweets
Follow @SullysRants on Twitter
Days Until Retirement
- The good life starts:
in 19 years, 10 months, 30 days
Looking for SafariSort?
SafariSort.com
My FREE SafariSort application will alphabetically sort your Safari bookmarks in just one click! All your folders, sub-folders and bookmarks will be sorted enabling you to actually find what you’re looking for. Simply Amazing!
