<?php require_once("p4a.php"); require_once("myapp.php"); session_start(); foreach( $_GET as $k => $v) $event[$k] = $v; $p4a = & $_SESSION['Application']; echo $p4a->event_handler( $event); ?>