Retrieve username/password from browser using javascript -
My web server has enabled authentication. When I use my web server I get a pop-up from the browser for the username and password After logging in, I want to retrieve the username from the browser using Javascript. I'm not using any type of form to get a username / password, so, I'm not even setting any cookies. Can we use the DOM method to use the username? Or any other way?
Regards, Joy
As far as I know, Can not do this together
View this link from php.net:
HTTP Authentication with PHP:
Comments
Post a Comment