frame help


Posted on 16th Feb 2014 07:03 pm 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.

No comments posted yet

Your Answer:

Login to answer
269 Like 22 Dislike
Previous forums Next forums
Other forums

calculator
I can't figure out why this code doesn't work. No error messages. Page loads.

Code: <

Why does my crawler script suddenly end with no error?
Hi.

I have written a web crawler script. It will visit a large number of URL's with cURL.

How to display value in drop down list after form has been reloaded
Please bear with me as I am very new to php and html.

I have a form with several drop down me

Hom to make one url to open together with another url
I have a chat, which i want to be opened, as soon as the users login to the site. As it is now, when

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

PHP and SMS
Hi all forum members. I am new here and am unsure what category shoild I post this in.
Moderator

data type in column definition
Hi,
I create a table with column called "Direction of Travel code ".
The travel codes in t

$variable = $variable
Hello

Sorry if this is a really simple question but I have run out of ideas. Is there a reall

PHP template help
Ok, I don't know if anyone can help me but I am using PHP templates to make a site. I am a newbie an

Reg Ex
Im trying to search for the string: srv_9 (Dead ???)

I thought to use preg_match, however I d

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash