PHP Login System with Admin Features

This forum was created to talk about the PHP Login System with admin features created by jpmaster77 on evolt's website


    Login Redirects?!

    Share
    avatar
    Linchpin311

    Number of posts : 220
    Age : 33
    Localisation : Long Island
    Registration date : 2007-05-14

    Login Redirects?!

    Post  Linchpin311 on Mon May 14, 2007 6:06 pm

    Hey everyone! I love this login script, but while trying to add it to my site, i ran into a slight problem. honestly, i think this problem has more to do with php than this code itself, but here-goes.

    my site is primarily split into two iframes (named left and right). in the login page, the left iframe contains a brief summary of the site, while the right iframe houses an adapted version of main.php ("login/main.php" from the login scripts zip file).

    what i want is, when the user fills out their username and password, and the username and/or password contains errors, the process.php file redirects back to main.php (still located in iframe right) displaying the errors. but when the username and password are correct and without errors, process.php loads a new page in the parent frame, not iframe left or right.

    does anybody know of a way this can be done? maybe the remedy army can help me out here... thanks in advance! Very Happy


    _________________
    in the end, the universe tends to unfold as it should...

    Also note that it is your responsibility to die() if necessary.
    avatar
    Fred-Eric

    Number of posts : 63
    Registration date : 2007-05-13

    Re: Login Redirects?!

    Post  Fred-Eric on Mon May 14, 2007 9:32 pm

    past in the code that you have in the process.php, maybe there is somthings wrong whit the header redirection...
    avatar
    Linchpin311

    Number of posts : 220
    Age : 33
    Localisation : Long Island
    Registration date : 2007-05-14

    Re: Login Redirects?!

    Post  Linchpin311 on Tue May 15, 2007 3:36 am

    i tried to do you one better and create a quick mock site hopefully showing you my problem. there is also the code to go along with it.

    check out:
    http://69.122.242.19:8000/M15

    thanks a lot!!


    _________________
    in the end, the universe tends to unfold as it should...

    Also note that it is your responsibility to die() if necessary.
    avatar
    Fred-Eric

    Number of posts : 63
    Registration date : 2007-05-13

    Re: Login Redirects?!

    Post  Fred-Eric on Tue May 15, 2007 9:36 am

    when the process.php goes, add a second redirection for the parwent frame when the login is successfull
    avatar
    Linchpin311

    Number of posts : 220
    Age : 33
    Localisation : Long Island
    Registration date : 2007-05-14

    Re: Login Redirects?!

    Post  Linchpin311 on Tue May 15, 2007 10:49 am

    what should the code look like for this?


    _________________
    in the end, the universe tends to unfold as it should...

    Also note that it is your responsibility to die() if necessary.
    avatar
    Fred-Eric

    Number of posts : 63
    Registration date : 2007-05-13

    Re: Login Redirects?!

    Post  Fred-Eric on Thu May 17, 2007 2:21 pm

    Linchpin311 wrote:what should the code look like for this?

    Well I never work before with iframe so I cannot help your more on this problem. sorry

    Sponsored content

    Re: Login Redirects?!

    Post  Sponsored content


      Current date/time is Tue Dec 11, 2018 6:14 am