While doing some programming I came across an interesting predicament. While I understand it’s evil to make it hard for a user to leave a page, I’m not here to argue the merits (or lack thereof) of onbeforeunload. On a particular form, we are forcing the browser to not cache the information to avoid potential… Read more »
Posts Categorized: Geekery
Improved AJAX, XHTML, and RSS Safe Function for Converting Entities to ASCII in PHP
In March, I reported on a particular problem that may or may not have arisen for developers. In short: WebKit and, consequently, Google Chrome might have introduced some problems for developers who weren’t properly converting their variables to ensure they were safe for XHTML, RSS and AJAX by converting their characters to the proper ASCII… Read more »
Amazon AWS API REST Authentication for PHP 5
Since Amazon decided all of their requests needed to be authenticated, developers have been scrambling to convert their existing code to work with their new authentication architecture. Here’s an excerpt of the email you probably received: “… signatures will be necessary to authenticate each call to the Product Advertising API. This requirement will be phased… Read more »