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: Programming
Tools & Tips…
Well, I’m going to try to divulge more of my development experiance to others. Starting with some ‘Tools & Tips‘. Let me know if there are any topics/questions from all forms of development PHP, Java, .NET .. and management (people … Continue reading
Posted in Programming, SEO & SEM, Software, Technology, Web Design
Leave a comment
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.
Capitalization for us Mc’s and Mac’s!
Needed to capltalize Mc’s and Mac’s? Here’s a quick function for it…
Creating good passwords…
Recently I was reviewing the security practices for my users… I like to get them to change their windows login regularly as it’s used via LDAP etc etc in some cases for loggin into web applications… Anyway… all the passwords … Continue reading
Dynamically sorting by a column in a Stored Procedure (SQL Server)
Have you ever needed to build a stored procedure that would take the name of a column as a parameter, and return the results ordered by that column? So have I, so after researching it for a couple of days, … Continue reading
Posted in Programming, SQL
Tagged Sorting by Column, SQL, SQL Server, Stored Procedure
Leave a comment
ColdFusion Caching Explained
Configured in the ColdFusion administrator under the “Caching” section, server caching controls how much and when data is stored in memory. An effective server caching strategy can relieve stress on resources such as databases, CPUs, and file systems while dramatically … Continue reading
SQL – Select using current day…
I’ve had this problem a few times, and many people always ask me it… so here it is immortalised. If you require to select all records added to your table for the current day use the following where clause – … Continue reading
Email – Multipart Email with HTML/Plaintext
It is often quite usefull to be able to send an email with HTML for those that can support it, and Plaintext, for those who do not. There is how you can send a ‘multipart’ email with ColdFusion. <cfmail from=”” … Continue reading