I have a PHP file that handles sending out confirmation emails. I also have a calendar that I use AJAX to do various updates. When AJAX calls the update file, it updates the
$_GET is a global variable, so can be used anywhere within your php script, including any included scripts
$_GET