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


    Using LoginSystem in a different Folder

    mvprzy
    mvprzy


    Number of posts : 1
    Registration date : 2011-03-02

    Using LoginSystem in a different Folder Empty Using LoginSystem in a different Folder

    Post  mvprzy Wed Mar 02, 2011 6:56 pm

    Hi,

    Relatively new to this. I was planning to install the script into a different folder off of the main folder.

    Also was going to modify main.php so as to include the "login table" into a login box on my main index page.

    I am thinking that I will have to:

    1. Add the whole path (ie:"../loginsystem/main.php") to any href's, anchor tags or other file references within the script.

    2. Add an if statement so that when "main.php" is called from within the script, it redirects to the index page instead. Is there some condition or variable that I can test for to use in the if statement?


    Also, if there are better ideas, let me know.

    Thanks,

    Mark

      Current date/time is Fri May 17, 2024 3:58 am