CHAPTER 12
image
Diverse Solutions
A number of recipes didn’t quite fit into any of the categories of the other chapters. So here are the final 10 PHP recipes, which, as the chapter title suggests, offer diverse solutions to a variety of programming problems, including geo-location, “bot” detection, data about books, word and spelling functions, language translation, rounded table borders, and Bing Maps.
image
image GetCountryFromIP()
Knowing which country a web ...

Get Web Developer's Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.