<?php $url = isset($_GET['url']) && filter_var($_GET['url'], FILTER_VALIDATE_URL) ? $_GET['url'] : ''; ?> <iframe src="<?php echo $url ?>"></iframe>