PhpRiot Latest Articleshttp://www.phpriot.com/images/logo.gif2011-05-06T00:00:00+00:00Zend_Feed_Writerhttp://www.phpriot.com/articles2011-05-06T00:00:00+00:002011-05-06T00:00:00+00:00http://www.phpriot.com/articles/google-translate-apiQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasGoogle Translate is a service from Google that you can use to translate text or HTML from one language to another. One of the great features of this service is that they now offer an API to let you programmatically translate text. In this article I will show you how to interact with the Google Translate API.2011-04-27T00:00:00+00:002011-04-27T00:00:00+00:00http://www.phpriot.com/articles/reducing-map-path-douglas-peucker-algorithmQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasWhen drawing a path on a map (for instance, the directions from point A to point B) it is important to consider the limitations of the device you're drawing the path on. In this article, I will show you how to reduce the number of points in a path so the path can be displayed with minimal loss of quality on devices such as iPhone or Android-powered devices that may struggle with an extremely large set of points.2011-01-12T00:00:00+00:002011-01-12T00:00:00+00:00http://www.phpriot.com/articles/google-url-shorening-apiQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasIn 2010 Google released its own URL shortener, which allows you to shorten URLs to use the goo.gl domain. In this article I will show you how to easily create your own short URLs using their new URL shortener API.2010-12-14T00:00:00+00:002010-12-14T00:00:00+00:00http://www.phpriot.com/articles/php-a-to-zce-functionsQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasOne of the key features of nearly all programming languages is the ability to create reusable code that can be used on-demand. In PHP this is achieved with the creation of user-defined functions. In this article I will show you how to define and use functions in PHP.2010-11-24T00:00:00+00:002010-11-24T00:00:00+00:00http://www.phpriot.com/articles/php-a-to-zce-error-handlingQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasOne of the features of PHP is its comprehensive error-handling functionality. You can control many aspects of how errors are triggered and handled. In this article I will cover the key aspects of errors and error handling in PHP.2010-11-18T00:00:00+00:002010-11-18T00:00:00+00:00http://www.phpriot.com/articles/php-a-to-zce-databases-and-sqlQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasDatabases are an extremely useful tool in web development as they allow you to store data about users, customers, e-commerce products and orders, or anything else. In this article I will cover the basics of using databases in PHP, including how to manage data using SQL.2010-11-17T00:00:00+00:002010-11-17T00:00:00+00:00http://www.phpriot.com/articles/php-callbacksQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasA commonly used technique when programming is to use callbacks. A callback is a piece of code that is passed to a function that is later executed by that function. In this article I will show you how to define and call callbacks in PHP, as well as a practical example of how callbacks can be useful.2010-11-09T00:00:00+00:002010-11-09T00:00:00+00:00http://www.phpriot.com/articles/php-a-to-zce-cookiesQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasCookies are used to store data on the computer of somebody who visits your web site. In this article I will show you how cookies work and how you can read and write cookies.2010-11-03T00:00:00+00:002010-11-03T00:00:00+00:00http://www.phpriot.com/articles/php-a-to-zce-bitwise-operationsQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasBitwise operations allow evaluation and manipulation of specific bits within an integer. In this article I will show each of the bitwise operations that are available and how to practically use them within PHP.2010-10-29T00:00:00+00:002010-10-29T00:00:00+00:00http://www.phpriot.com/articles/verifying-app-store-receipts-php-curlQuentin Zervaashttp://www.phpriot.com/author/Quentin+ZervaasIn this PhpRiot snippet I will show you how to verify a purchase receipt that was submitted by the iOS application with the Apple receipt verification service. We will achieve this using PHP and cURL and the App Store receipt verification service.