September 2010 M T W T F S S « Aug 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Category Archives: PHP
Session Handling in PHP
Traditionally HTTP is a stateless protocol. That is it is made up of requests and responses and there is no notion of a ‘persistent connection’. This means that there is no way to have consistency or personalisation on the web … Continue reading
Need to make PHP ‘stop’… PHP wait timer
AJAX is great… but sometimes it’s too quick if you’re updating… So… How can I make the page wait for a few seconds, then proceed? Well there are 2 functions PHP has to pause execution. They are: sleep(NUMBER_OF_SECONDS); and: usleep(NUMBER_OF_MS); … Continue reading
PHP – Generate/Create strong passwords, uuid, random string
Very often the need to create passwords or some other ‘unique’ string be it a captcha or for use as unique identifier (UUID). Here are a few functions I’ve used and refined over the years, 2 types, for password/random string … Continue reading
Posted in PHP
Leave a comment
Signs of poor PHP ‘products’
If you are a professional developer (or aspiring) you will inevitably get asked to customise or even better “extend” existing wares. If it’s a product you are familiar with great! If not I heartilly reccomend spending a little time investigating … Continue reading
PHP Form Action Self submit
A question I am always asked is about ‘self-submitting’ forms.