This is an example of how to integrate a PHP backend with QUAIL. You must run it from within a web server, it will not work by just viewing the html files in a browser.
WARNING: This is a totally insecure way to do things, it's just a simple example. Do not post this to a public place.