Posted by Zoe Brown on 10/10/05 18:50
Hello
I am new to php but have done lots of asp and .net.
How do I do redirect a page to a new page in php ???
I am trying to use
<?php
ob_start();
$username="bla";
$password="blabla";
if (($_POST['username']==$username) && ($_POST['password']==$password))
{
header("Location: main.html");
}
?>
Thanks so much.
Navigation:
[Reply to this message]
|