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


    Session.php

    mbrad
    mbrad


    Number of posts : 42
    Registration date : 2009-02-19

    Session.php Empty Session.php

    Post  mbrad Fri Apr 09, 2010 2:02 pm

    Thanks for taking the time to read my question.

    I would like to make my own session.php page. I figured that it would be smart to use the current session.php page as an example.

    What part do I need to be able to just create session variables?

    ie:
    <?php
    Code:
    $_SESSION['test'] = "Happy";
    echo "I am " . $_SESSION['test'];

    Code:

    <?php
    class Session
    {
    function startSession(){
        session_start();

    }
    };
    $session = new Session;
    ?>

    Is that all I need?
    mbrad
    mbrad


    Number of posts : 42
    Registration date : 2009-02-19

    Session.php Empty Re: Session.php

    Post  mbrad Fri Apr 09, 2010 5:41 pm

    I got it. Can't type.

    Thanks,

    Brad

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