A simple, yet not quite foolproof method to determine if an onbeforeunload event was cause by actually closing the browser window or tab.
A few takeaways from my web development experiences this month. CSS, HTML and more.
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.
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.
Making your existing e-commerce payment forms work with the new iOS 8 Scan Credit Card feature is worth the minimal effort required.
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…
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).
It’s not brain science, but it did take me a reasonable amount of time to figure out how to properly configure my CentOS server for using ImageMagick with PHP.
With a little extra effort, you can construct a single query that returns multiple rows using the SQL IN operator.
From there, you can convert the query results into a language construct that is easy to work with.