“Lock Desktop” – New Mac OS X App




1. “Lock Desktop” – New Mac...

I’ve uploaded one of my first applications for a Mac. It’s extremely easy to use. The tool allows you to lock your desktop when you’re away from the computer and requires a password when you get back.  This is...


Mac OS X Server Rejects Mail with No Subject Line

Mac OS X Server Rejects Mail with No...

Is Mac OS X Server 10.6 (Snow Leopard) rejecting your e-mail messages which lack a subject line? Mine was, and so does the default setting on Snow Leopard Server. Here’s a quick fix: 1) First, stop...
PHP: Session Timeouts

PHP: Session Timeouts

Defining session timeout thresholds for PHP scripts is a security “must”. I recommend that you consider the purpose of your script before applying a session timeout function. For instance,...
Clear Tower Consulting

Clear Tower Consulting

Looking for a company to help you manage your web development project? Need a website? Are you a looking for eLearning or online training? Clear Tower Consulting is a progressive, innovative firm which...
Use PHP to Backup your MySQL Database

Use PHP to Backup your MySQL Database

If you don’t backup your databases regularly, shame on you. You should! The code below will allow you to generate a backup as often as you’d like. It only makes sense to run this via a CRON...
Return Random Record via MySQL

Return Random Record via MySQL

There are many practical and frequently used methods requiring a random record to be called. For instance, when you see “featured profiles” or random customer comments on a website, they are...
Detecting iPhone visitors with PHP

Detecting iPhone visitors with PHP

More and more internet traffic is generated by the iPhone and iPod touch. The PHP snippet below shows you how to automatically redirect your users to a page which is optimized for the iPhone Safari browser. if(strstr($_SERVER['HTTP_USER_AGENT'],'iPhone')...
PHP: Preventing typical XSS attacks

PHP: Preventing typical XSS attacks

XSS attacks plague beginner programmers and are a significant vulnerability for commercial web hosts & website operators.  XSS means “cross-site scripting“.  These exploits work on the...
Use PHP to Backup your MySQL Database