Posted on October 1, 2008
In Ajax programming development, passing data back and forth between client and server is a common task. There are two major data formats that one can use for this purpose, namely XML and JSON. My personal preference is JSON because I find it's less verbose and easier to parse.
Although latest PHP provides a very handy [...]
Posted on September 13, 2007
Update(2009-09-19): JSON encoding and decoding is built into PHP since PHP 5.20. You don't need Zend's JSON support if your PHP version is >= 5.20. Please see:
http://us2.php.net/manual/en/function.json-encode.php
http://us2.php.net/manual/en/function.json-encode.php
So you are writing a piece of PHP code to handle some Ajax request and you've just finished coding the business logic. It is time to output some server [...]
Posted on March 25, 2007
This tutorial will show you how to install and configure PHP under Windows XP. This tutorial requires you to have Apache HTTP server installed on your local machine. If you haven't done so, you can complete part one of this tutorial. We will use Apache version 2.2.4 and PHP 5.2.1 for this tutorial.
(more...)