Help in PHP login system?

taz

New member
I have made a simple login system.

It has 3 pages i.e

Login.php
Redirect.php
Main.php

If someone logs in on Login.php , it redirects to Redirect.php where it checks if the login information is correct. If correct it redirects to main.php

I want to make such settings that if some is not logged in, Main.php should be restricted. what should I do to make such restrictions?
 
Back
Top