I'm not sure if you wanted it to print the URL, or go to the URL, so I made two:
url.php (prints the URL)
Code:
<?php
if (isset ($_POST['submit'])) {
$url = $_POST['url'];
echo 'http://www.artviper.net/screenshots/screener.php?url='.$url.'';
} else {
echo '<form action="url.php" method="post">
URL: <input type="text" name="url" />
<br />
<input type="submit" name="submit" value="Submit!" />
</form>';
}
?>
OR
url.php (goes to URL)
Code:
<?php
if (isset ($_POST['submit'])) {
$url = $_POST['url'];
header ('location: http://www.artviper.net/screenshots/screener.php?url='.$url.'');
} else {
echo '<form action="url.php" method="post">
URL: <input type="text" name="url" />
<br />
<input type="submit" name="submit" value="Submit!" />
</form>';
}
?>