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

Getting rid of quotes when printing data
Hi Guys, I use the filter_var FILTER_SANITIZE_STRING to filter the textarea input. The function esca

Preventing SQL Injection
I have a question about SQL Injection, In some of our code we use this: view plaincopy to clipboa

problem when runing a funciton
I am trying to connect to database using a funciton in a functions.php

<?php
funct

Beginners syntax and loop questions - help please!
Hi everyone,

I have some problems with php code. I'm currently in the middle of learning php,

MYSQL gen help
This is my Mysql gen. can anyone tell me why this echos

MID(networkset.networkid, 3, 3) AS &q

upload only text files
hi guys i want to upload only text like like (pdf,note pad and ofiice files) so can any one please t

Ten Operator Syntax
Hi Guys,

I can't figure out why i am getting a parse error with this basic ten op code:

query help
Hi experts.

i have a table rep2 like this
PROD_COD ACCT_NO DUE_DAYS BALANCE

Regarding accessing SQL query issued by any user in Oracle 10g
Hi all,
i want to know the queries issued by various users accessing a database...

constructor ?
i have written this program and made 3 constructors in the class and i want to call them in the main

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