Author Archives: Phil LaNasa

Web Developer Tips May 2015

web-developer-tips

Here’s what I took away from the first half of May 2015. I discovered a new online tool, transformy.io. My initial excitement was subdued a little bit when I actually used it, though it’s still an excellent tool if your … more …

ColdFusion timestamp trick to prevent form spam

no-spam

The timestamp trick is a very effective way to prevent form spam. This quick post illustrates how to employ it on a ColdFusion based site. more …

Solving the close browser / tab event issue

close-question

A simple, yet not quite foolproof method to determine if an onbeforeunload event was cause by actually closing the browser window or tab. more …

Web Developer Tips April 2015

A few takeaways from my web development experiences this month. CSS, HTML and more. more …

MySQL Bulk Insert or Update

msyql bulk insert update

Any technique that saves round trips to the database pays for itself exponentially over time. MySQLs bulk Insert or Update syntax is one of those techniques. more …

The simplest possible way to prevent brute-force logins

brute-force login php

Protecting your login from brute-force attacks is much simpler than you might think. With three quick updates to your code and database, you'll be all set. more …

iOS8 Card Scan – Making your payment form “compliant”

phone ios8 card scan

Making your existing e-commerce payment forms work with the new iOS 8 Scan Credit Card feature is worth the minimal effort required. more …

Top SiteKickr Tweets of 2014

twitter

What’s a good blog without a year-end report on our top tweets for the year? I think this kind of thing is a good way to see what was trending as the year goes by. Based on my Twitter reporting, … more …

A shorthand substring search function for JavaScript

string-search-js

Make your life about 1% easier by creating a convenience substring search method on the JavaScript String prototype. more …

MySQL Sales Reporting by Holiday

holiday reporting

Not all real-world reporting requirements align well with how your data is organized. In my case, I had to produce sales reports tied to a US Holiday (which varies year-to-year). more …