I would just like to find a way in PHP (a link, a button, etc.) to give the user the possibility to open a (http-authentication-based) password protected page.
I already tried with a simple href containing the link to:
http://username:password@domain
but it seems it does not work anymore in current browsers.
Is there a way to do this? It seems a very trivial problem, but actually I still have not found a way.
Thank you.