Event Flyer

$url = $_SERVER['REQUEST_URI'];
$dir_array = explode(“/”, $url);
$events = curl_init(“http://”.$_SERVER['HTTP_HOST'].”/event/ipaper_events/show/”.$dir_array[3].”/”.substr($dir_array[4], 1));
curl_exec($events);
curl_close($events);
?>