Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Location
    Bangalore
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    redirection problem with "frameset" where login page exists

    hello guys,

    i have written a simple html user login form as follows

    index.php


    <html>
    <head>
    <title></title>
    <script type="text/javascript" src = "adminIndex.js" >
    </script>
    </head>
    <frameset rows="15%,*">
    <frameset cols="30%,*">
    <frame scrolling="no" src="site_logo.php" />
    <frame scrolling="no" src="login_page.php" />
    </frameset>

    </frameset>
    <html>


    login_page.php



    <?php
    $message = "";
    if(isset($_REQUEST["message"]))
    {
    $message = $_REQUEST["message"];
    }
    ?>

    <html>
    <head></head>
    <body bgcolor="black">
    <table width="100%" >
    <tr>
    <td width="50%"></td>
    <td width="50%">
    <form method="post" action="home.php"> // or else first i will validate user details and redirect to home page
    <table width="100%">
    <tr>
    <td width="100%" align="left"><b><font size="3" color="white"> EMAIL ID</font></b></td>
    <td width="80%"align="left"><b><font size="3" color="white"> PASSWORD</font></b></td>
    </tr>
    <tr>
    <td align="left"> <input type="text" id="texLoginId" name="texLoginId1"/> </td>
    <td align="left"> <input type="password" id="pasPassword" name="pasPassword1"/> </td>
    <td width="10%"><input type="submit" value="LOGIN" onClick = "return validate();"></td>
    </tr>
    <tr>
    <td colspan="3" width="50%"><font color="red">
    <h4 id="errorMessage">
    <?php
    echo $message;
    ?>
    </h4></font></td>
    </tr>
    </table>
    </form>
    </td>
    </tr>
    </table>
    </body>
    </html>



    MyProblem:


    gif image hosting


    image hosting png


    image hosting gif]



    1) As you see in first image, the login interface is fine

    2) and also in second image, entering login info is also fine

    3) when i press login button, then only the frame portion of webpage only redirecting to home.php, but i want the entire webpage redicted to home.php, i mean complete webpage instead of that tiny little frame

    Hope i can figure out this with your help.....
    Thanks....

    Last edited by somanath; 02-21-2012 at 10:36 AM. Reason: enlarging images for better view

  • #2
    New to the CF scene
    Join Date
    Jul 2011
    Location
    Bangalore
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    guys can any one of you plz help, get out of this........


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •