How it works

This was developed as a temporary server-side component of learning how to send and receive data from an iOS device. It shows the basics of using an AJAX request to a URL that will process any POST data, dumping any POSTed parameters into persistence and then showing the ongoing list of all POSTed parameters.

Code sample:
PHP code for showing the results

Persistence is abstracted away as shown with a custom object that uses the MDB2 package from PEAR to simplify data connections. This mini-project, including setting up the simple data persistence and this description, took about 2 hours.

Add to Any Params Dumper

Warning: require_once(MDB2.php): failed to open stream: No such file or directory in /home/abblan/ on line 3

Fatal error: require_once(): Failed opening required 'MDB2.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/abblan/ on line 3