Location: PHPKode > scripts > pAjax > pajax/tests/server.php
<?php

require_once "../class.pAjax.php";


function test() {
    return $_SERVER;
}

$AJAX = new pAjax;
$AJAX->enableExportProtection();
// Try comment the next line and you'll experience parser in action
// describing the error that you don't exported the requested function
$AJAX->export("test", array("phpinfo"));
$AJAX->handleRequest(); // Default response charset is UTF-8

?>
Return current item: pAjax