I have:
<?php
$goto = $_GET['goto'];
?>
and:
<form method="get"><input type="text" name="goto" id="goTo" /></form>
<iframe id="page" src="http://<?php echo $goto; ?>"></iframe>
If I go to my page, nothing displays unless I end the URL with ?goto=<webadress>
.
Example: http://example.com/windows8/apps/Flake/index.php?goto=http://google.com
How can I make it so that if the user didn't type in ?goto=http://google.com
, the page displays like a backup website?