handle(substr($url, 5)); } else if ($url == '/image') { $api = new Controller_Image(); $api->handle($url); } else { header('HTTP/1.0 404 Not Found'); echo "I can't handle this request\n"; } ?>