PHP Login System with Admin Features

Would you like to react to this message? Create an account in a few clicks or log in to continue.
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


2 posters

    Login Redirects?!

    Linchpin311
    Linchpin311


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

    Login Redirects?! Empty Login Redirects?!

    Post  Linchpin311 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
    Fred-Eric
    Fred-Eric


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

    Login Redirects?! Empty Re: Login Redirects?!

    Post  Fred-Eric 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...
    Linchpin311
    Linchpin311


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

    Login Redirects?! Empty Re: Login Redirects?!

    Post  Linchpin311 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!!
    Fred-Eric
    Fred-Eric


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

    Login Redirects?! Empty Re: Login Redirects?!

    Post  Fred-Eric 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
    Linchpin311
    Linchpin311


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

    Login Redirects?! Empty Re: Login Redirects?!

    Post  Linchpin311 Tue May 15, 2007 10:49 am

    what should the code look like for this?
    Fred-Eric
    Fred-Eric


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

    Login Redirects?! Empty Re: Login Redirects?!

    Post  Fred-Eric 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


    Login Redirects?! Empty Re: Login Redirects?!

    Post  Sponsored content


      Current date/time is Fri May 17, 2024 6:29 am