<?

if (isset($_GET['url']))
{
header('Location: ' . urldecode($_GET['url']));
die();
}

// Здесь случилась ошибка.

?>