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

Unifying logins of two different scripts
I have two different game scripts which I want to embed on my own site. The problem is I don't want

Help with form post data and arrays
Hi all,

I am new to this forum... It has been awhile since i have worked with arrays, and i a

Multiple if statements
Ok so seems basic but for some reason I'm not doing it right. What I want is to be able to have 2 se

start new row of pictures
on my site www.budstreasureauctions.com there is a featured auctions box that users will pay to get

Members Only
Hi all, for my website i have a members area only which on members can veiw, but at the moment anyon

Warning message
I've put a website that I was doing live and I'm getting this warning message when I try to add a ne

Which practice of iteration through containers is preferred
In the "real world" what kind of loop do most people use to iterate through a container like a vecto

Checking if a process is running (problems including psapi.dll i think...)
Ok, so all I'm trying to do is check if a program is running...

I've found out that I nee

How to ask a regex question?
Hi, I thought I'd share some of my insight after seeing too many bad questions that either get ignor

Using loop to count number of entries
I'm writing a program that must ask user to type in numbers. After each entry, the program has to re

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