frame help

Posted on 16th Feb 2014 by admin

on the bottom frame is menu.html

Code: <body><form action='link.php' method='post' name='changer'>
<label>URL
<input type="text" name="url" />
</label>
<label>
<input type="submit" name="Submit" value="Submit" />
</label>
</form>
</body>
on the top frame is link.php
Code: <?php
if (isset($_POST['url'])) {
header("Location: " . $_POST['url']);
}
?>


the problem is when i enter a url in menu.html and submit, i want link.php to go to that webpage. whats the best way to do this?... the above isn't working the way i want it to.

Other forums