api.php
- called without parameters gives last 20 msg in database
- takse data & user parameters - data should contain message and user login name 'xlogin00'
config.php
- login details for your database
index.php
- basic chat implementation using AJAX
- variable apiAddress should point to valid API server