I have an existing login system.
- When user logs in, a function that checks if password & username match, returns their user ID (which is the user ID from the mysql database).
- $_SESSION['user_id'] is set to the value returned by the function.
- A variable is then declared in a script that is included on every page. $sessionVari...
“Great job! Pleasure to deal with, quick turnaround, quality work and an honest price. Highly recommended. ”