Usage: ?delay=<seconds>&url=<url>
<!DOCTYPE html>
<html lang="no-nb">
<head>
<meta charset="utf-8" />
<title>Iframe-loader</title>
<?php
$delay = (int) $_REQUEST['delay'] != 0 ? (int) $_REQUEST['delay'] : 20;
$url = $_REQUEST['url'];

if( $url != '' ) {
	if( substr( $url, 0, 4 ) != 'http' ) {
		$url = 'http://' .$url;
	}
	echo '<meta http-equiv="refresh" content="' .$delay .';url=' .htmlspecialchars($url) .'">';
}
?>
</head>
<body>
<?php
if( $url == '' ) {
	echo htmlspecialchars('Usage: ?delay=<seconds>&url=<url>');
	echo '<br><pre>';
	print_r( htmlspecialchars( file_get_contents( __file__ )));
	echo '</pre>';
} else {
	echo 'Ett √łyeblikk...';
}
?>
</body>
</html>