Macemore
Circumcised pineapples
I'm trying to make is so a user enters a URL via HTML form and then the page will go and get that URL (
) but I'm 100% sure I'm doing something wrong seeing as this should be simpler. or harder I have no idea.
here's my code
index.php
get.php
Please post what I did wrong
Thanks!
PHP:
include()
here's my code
index.php
HTML:
<html>
<body>
<form name="input" action="get.php" method="get">
URL: <input type="text" name="url" />
<input type="submit" value="Submit" />
</form>
</body>
</html>
PHP:
<html>
<body>
<?php
include $_GET["url"]
?>
</body>
</html>
Thanks!