Cancelled

Login / out session system php mysql

I've got a simple login system I need completing.

Users can login at [url removed, login to view], which is processed at [url removed, login to view] (based on the members table in my database (sql dump attached, along with all other necessary files).

TASKS:

Task 1) The [url removed, login to view] page may need to be tweaked to start a session.

Task 2) I'd like to display a user's status on all pages. I've set up the page [url removed, login to view] to show what I want here. The relevant code (which will obviously need to be altered) shows the logic I want:

<?php

if (logged_in && $member_display_name != "")

{

echo "Logged in as " . $member_display_name . ". <br/>

<a href=\"[url removed, login to view]\">Log Out</a>";

}

if (logged_in && $member_display_name == "")

{

echo "Logged in as " . $member_firstname . " " . $member_lastname . ". <br/>

<a href=\"[url removed, login to view]\">Log Out</a>";

}

else "<a href=\"[url removed, login to view]\">Log In</a> or <a href=\"[url removed, login to view]\">Join Up Now</a> "

?>

Task 3). There are a few pages on my site that I do not want people to be able to access unless they've logged in. If they try to go to one of these pages when they are not logged in, I'd like them to be redirected to [url removed, login to view]

This code can be put on the page entitled [url removed, login to view], which currently begins with the code:

<?php

if (NOT LOGGED IN)

{

/// redirect to [url removed, login to view] //// }

else

{

//// continue opening page ////

}

?>

Task 4. Logging out. Task 2 includes code that displays a link to [url removed, login to view] for users who are logged in. [url removed, login to view] needs to contain the code to destroy the session and log the user out.

Skills: MySQL, PHP

See more: php mysql login logout, session php, login php code mysql, displays, session, people system, out, login php, php mysql join table, session php login, mysql join table, php redirect page, login logout php system, mysql table join, php sql code, display mysql, php logout, redirect status code, mysql show, session task, redirect login, simple php mysql task, simple user access php, access database php mysql, php mysql table login

About the Employer:
( 91 reviews ) Cairo, Egypt

Project ID: #1453617

9 freelancers are bidding on average $36 for this job

acesolution

lets do it now......thanks

$40 USD in 1 day
(102 Reviews)
6.5
yunuscse

Please view my PM.

$50 USD in 1 day
(72 Reviews)
6.2
pinoycoder

hi, please check pmb. thanks!

$30 USD in 0 days
(45 Reviews)
5.2
nipunsinghal

Ready to work now. Looking forward for a long professional relationship with you.

$30 USD in 0 days
(18 Reviews)
4.0
jetvirez

hi, i can do it now and finish it after an hour. contact me now. thanks!

$50 USD in 1 day
(7 Reviews)
3.3
kunalgurbani

I will do this for you. Please check PM. Thank You

$30 USD in 1 day
(1 Review)
1.0
rupsphp4u

Hi I can do this for you. Pleaes check PMB. Regards, Rups

$30 USD in 2 days
(0 Reviews)
0.0
amitjatav1987

confirm deal so i make it complete for u

$30 USD in 2 days
(0 Reviews)
0.0
nattree2004

Let me modify that for you

$30 USD in 0 days
(0 Reviews)
0.0