The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Organization of Files on Web Server
joehesse
post Jul 10 2018, 09:16 AM
Post #1





Group: Members
Posts: 7
Joined: 5-July 18
Member No.: 26,667



My tentative website has two files, Login.php and Main.php. They are both in the root of the web server.
I want users to go to MySite.com/Login.php and see a login screen which asks for a user name and password. If the user enters a correct name and password they are linked to Main.php, otherwise they get an error message.
How do I prevent the user from just going to MySite.com/Main.php and bypassing Login.php?

Thank you,
Joe
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 12:21 PM