How to do this login: User types "user123@mydomain.com" as web address?

I have only really seen this once before, and am not 100% sure if this is more an apache question…

But basically the user had to enter:

headmaster@thisschool.com

In the address bar. They were then presented with a log in box. Once the user filled in the username and password, they are then directed to a private part of the website?

I intend to use this method to access my cms which is held out of the accessable web root.

I already have a functional cms that has been built up for different types of user access.

I would basically like to add this as an extension to what i already have.

Along with any input regarding my question, could someone provide some input as to the plus sides and down sides of using something like this to access your cms?

It’s likely they typed:-

[noparse]username:password@example.org[/noparse]

This is standard HTTP Auth, and both the username and password supplied are accessible in PHP.

http://php.net/manual/en/features.http-auth.php

:slight_smile: