David Hurst

PHP/MySQL, REALbasic, Javascript Developer

Secure Online Random Password Generator

Regular readers of my blog may remember, or have used, my secure random password generator class. For those who aren’t PHP proficient, or just can’t be bothered to create the pages necessary, I’ve implemented it into a new website: www.random-password.net. I hope it proves useful.
The benefit of my class is that it generates passwords based […]

Read the rest of Secure Online Random Password Generator

PHP mail() and ssmtp on Debian Linux

If, like me, you have a dedicated mail server that you want your PHP scripts to use, you may have come across ssmtp. ssmtp is a cut-down MTA that simply sends mail off to another server - ideal for scenarios where you don’t need to receive mail on your web server, but you do want […]

Read the rest of PHP mail() and ssmtp on Debian Linux

PHP - include all files in a folder

Ever wondered how to include every file, or a series of files in a folder without having to reference them individually? It’s easily done with PHP’s glob() function.

Read the rest of PHP - include all files in a folder

PHP / MySQL Programmer needed - job vacancy at Higher Sites Limited

Due to increased workload and subsequent expansion, Higher Sites Limited are in urgent need of experienced PHP/MySQL developers to work from our Ilminster offices. If you have 2 or more years’ commercial experience in developing websites with PHP and MySQL, we would like to hear from you.
Please call 01460 55662 or visit www.highersites.co.uk for more […]

Read the rest of PHP / MySQL Programmer needed - job vacancy at Higher Sites Limited

Using Recursive Functions in PHP to Manage Hierarchy

The recursive function is an essential tool for anybody developing PHP sites that feature multiple levels of categories, pages etc. In fact, they are great for managing hierarchical relationships (sometimes referred to as parent/child relationships). There are many applications of this, but the example I’m going to show you is categories, such as you might […]

Read the rest of Using Recursive Functions in PHP to Manage Hierarchy