Homepage Log In

Good morning. I’m looking for some sort of code / template so whenever a user goes to my website, they’re taken to the homepage where they have to register/log in to be able to access the website. I’ve been looking around and haven’t come across anything. This is NOT for a wordpress site. This would be for a HTML/PHP site. Any suggestions?


Same here. Couldn’t find anything. The two user libraries i bought are too fat and written badly. Makes it impossible to screen them for security errors and none has clean separation from required login to user interface.