Hello how would i make an iframe like this It must have some way of getting the url on the top so index.php?=http://domain.com I need it so that the http://domain.com can be any url and that the page will go to it. Somebody please help. and thank you!
Are you talking about something like URL: http://yoursite.com/index.php?url=http://google.com Simplified PHP: $content = "<frame src=\"{$_GET['url']}\"></frame>";
<?php $url=isset($_GET["url"])?$_GET["url"]:false; if($url){ ?> <div>your header</div> <iframe src="<?=$url?>"></iframe> <?php }else{ ?> show something if url is not provided <?php } ?> Code (markup): I think you know html/css