I read a ton of literature on login methods, and wanted to ask which is easier/most used.
1. having 1 pages with an if statments (if not logged in then display login screen, if logged in show content)
2. 2 seperate pages
on a side note, how can i redirect users to another page in php?
1. having 1 pages with an if statments (if not logged in then display login screen, if logged in show content)
2. 2 seperate pages
on a side note, how can i redirect users to another page in php?