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
Did you know?Explore Trending and Topic pages for more stories like this.
<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

Parse error: syntax error, unexpected $end in
hello,
i receive the error :Parse error: syntax error, unexpected $end in C:xamppxampphtdocsh

Issues: PHP Forms -Clearing
I've tried looking online before actually asking for help, but I've been looking for about the past

While Problem
i am having a problem with a while statement here is the code
Code: [Select]<?php
sess

use an array from 1 class in a second class
I have a class that adds data to an array

Then I have a second class and I need to check if t

2 decima places & How to reload my page
Hello There,

How do i put full-stop (.) after second figure from behind? ie if i have 123456

php/mysql auto logout after 2 hour and reset password
Hi all,

This I hope will make sense. I've the following code which when a user logins in, cr

Text to picture Generator
Hello, i have found this script and it works really good^^ But i have one problem, i would like to c

SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself

having a small php error tha deals with the 'foreach'
Last night i was working on a script for a cart and it seemed to working good, until this morning. F

explode() function problem maybe
Hi I'm having trouble searching my database. When I type two words in the search field it only searc

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