If i protect a directory via .htaccess (cpanel creates the code) is it possible to add the username and password as variables in the URL and access the directory without having to type them in the pop up box?
| SitePoint Sponsor |

If i protect a directory via .htaccess (cpanel creates the code) is it possible to add the username and password as variables in the URL and access the directory without having to type them in the pop up box?

All browsers used to allow:
Most now block that sine many people were unaware of the way that works and misunderstood where they'd end up if they clicked on:Code:http:logonid:password@www.example.com
Code:http://www.example.com/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@infectyourcomputerwithmyvirus.com
Stephen J Chapman
javascriptexample.net, Book Reviews, follow me on Twitter
HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
<input name="html5" type="text" required pattern="^$">
Bookmarks