1
2
3
4
5
6
7
<?php
    $data = serialize($_POST);
    mysql_connect('localhost','dbuser','dbpass');
    mysql_select_db('dbname');
    mysql_query('INSERT INTO cache(cache_data) VALUES(\''.mysql_real_escape_string($data).'\')');
    echo 'YOUR REAL PAGE SHOULD BE HERE WITH A MESSAGE ABOUT BEING IN THE QUEUE';
?>