HOME / Posts Tagged: PHP
Tracking your visitors' location with PHP
If you are in a situation that you need to show different content to your visitors depending on their location, an easy way to do it is with #PHP using MaxMind’s IP database. MaxMind is offering commercial database of locations for IP addresses, but they also have a free product GeoLite Country http://bit.ly/yoPj7C It is [Continue reading]
New #PHP book from Sitepoint, ordered, looking forward to the weekend to read it…
New #PHP book from Sitepoint, ordered, looking forward to the weekend to read it :) Embedded Link Home – PHP Master: Write Cutting-Edge Code Sharp, sure-fire techniques guaranteed to take your PHP skills to the next level
How to read pages with PHP and Diffbot, a visually learning robot
Say you want to copy Facebook’s any-page-on-the-web sharing feature where a title, photo and part of the content is automagically presented to the user. Or you want to build yet another news reading service (after you finished building your geo-location group-chat app ;)). You can now do this with Diffbot.
Fixing UTF encoding in AJAX requests on Internet Explorer
The legendary status of Internet Explorer for being special among all browsers was reminded to me when I discovered that sending a variable with non-latin character in a GET request over AJAX is apparently too troubling for IE. The result is that characters in greek are either transformed to latin ones or just disappear. This [Continue reading]