AnthonyArde Posted September 24, 2009 Share Posted September 24, 2009 Hi all, does anyone know of a way to have php auto login on an .htaccess password protected directory? Quote Link to comment https://forums.phpfreaks.com/topic/175375-assistance-with-accessing-htaccess-automatically-with-php/ Share on other sites More sharing options...
sKunKbad Posted September 24, 2009 Share Posted September 24, 2009 Whatever you are trying to access, you might try using the following format for your URLs: http://username:password@hostname/path?arg=value#anchor I haven't tried this, but it's worth a try Quote Link to comment https://forums.phpfreaks.com/topic/175375-assistance-with-accessing-htaccess-automatically-with-php/#findComment-924182 Share on other sites More sharing options...
AnthonyArde Posted September 25, 2009 Author Share Posted September 25, 2009 nope didnt work for me. any other suggestions? Quote Link to comment https://forums.phpfreaks.com/topic/175375-assistance-with-accessing-htaccess-automatically-with-php/#findComment-924638 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.