Hi,
How do I set loginpage. Should I take loginpage.php page individually besides index.php or should I put loginpage in index.php itself?
What to do? What's the proper method to go?

Hi, well i would make a loginpage.php and then just use some sort of code in the index.php to see if the user is logged in, if so then redirect to like controllpanel.php if not logged then redirect to loginpage.php. If you get my drift.

~Marais

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.