Delivering content relative to the physical location of your users is an excellent (and fairly easy) way to fine-tune the content you’re delivering to be most relevent to the people visiting your site. Two simple ways of doing this are to use an IP-based geolocation lookup, or to do a manual radius search (like a “store finder” type of functionality), where the user manually...
Using IP Geolocation and Radius Searching with PHP/MySQL
Fixing Curly Quotes and Em Dashes in PHP
The curly quotes, or “smart quotes” generated by Microsoft Word and other applications can be a real headache to developers. If you’ve built an administration area for your content publishers, and the publishers frequently compose their posts in Word and then copy+paste into your form to publish to the web, you may run into the situation where the curly quotes are replaced by...
Facebook Connect – a More Authentic Web, Or Loss of Privacy?
Facebook recently launched their new Facebook Connect API, which extends some impressive Facebook functionality into websites who opt to use the Facebook Connect system. Websites that implement Facebook Connect will be able to offer their users an easy way of connecting to their Facebook friends from Facebook Connected website, and actions the user takes on the third-party website can be...