<?php 
include "include/common.inc";
header("x-foo: " . $_SERVER['PHP_SELF']);
header("x-script-name: " . $_SERVER['SCRIPT_NAME']);
header("x-path-info: " . $_SERVER['PATH_INFO']);
header("x-QUERY_STRING: " . $_SERVER['QUERY_STRING']);
html_header();
?>
<h1>Submit link</h1>
<form action="submit.php">
<table>
<tr>
<td>URL</td><td><input type="text" name="url"/></td>
<td></td><td><input type="submit"/></td>
</tr>
</table>
</form>
<?php
html_footer();
?>
