Hi everybody!
Sorry, I deleted the last thread about the page redirection. This is the guy 
that needs help with the page redirection.
Here is an abreviated code that I wanted to accomplish:
<?php
if ( !isset($_POST['Username']) && !isset(_POST['Password']))
  {
   <form action="<?=$PHP_SELF?>" method="post">
   <table>
   <tr><td>Username</td><td><input type="text" name="Username" 
size="30"></td></tr>
   <tr><td>Password</td><td><input type="password" name="Password" 
size="30"></td></tr>
  <tr><td></td><td><input type="submit" value="Log in" id="submit"></td>
  </tr>
 </table>
  </form>
    }
else
    {
     // Handle the incoming Post array from Login form above
     $LoginName     = $_POST['Username'];
     $LoginPass     = $_POST['Password'];
    //Validate code here
    //If OK, 
   header("Location: http://www.example.com/myPage.php";);
  exit;
 }
?>
Is there something is wrong?
I tested it and it didn't give any error, but didn't redirect the page either.
Any help?
Thanks!
Paul

 
____________________________________________________________
Click here for free information and resources about managing your inheritance.
http://thirdpartyoffers.netzero.net/TGL2231/fc/BLSrjnxQ00XjyIphwS4uGMYkr6ZRV0VpXdDmfbgB0IcJpIBFEIIs0U4bwdS/
_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show_participation.php

Reply via email to