K_N Posted November 3, 2011 Share Posted November 3, 2011 Basically, I want to secure a directory so that it requires a login via HTML form in a PHP script using an SQL database for user data, but I would like to be able to make it work with htaccess for the entire directory, rather than having to wrap each page in a login authenticating script. If this is possible, can someone link me to a tutorial or provide me with appropriate resources? Link to comment https://forums.phpfreaks.com/topic/250393-is-there-a-way-to-use-htaccess-to-work-with-a-php-login-script/ Share on other sites More sharing options...
trq Posted November 3, 2011 Share Posted November 3, 2011 http://httpd.apache.org/docs/2.0/howto/auth.html Link to comment https://forums.phpfreaks.com/topic/250393-is-there-a-way-to-use-htaccess-to-work-with-a-php-login-script/#findComment-1284779 Share on other sites More sharing options...
K_N Posted November 4, 2011 Author Share Posted November 4, 2011 http://httpd.apache.org/docs/2.0/howto/auth.html I don't see anything there about using htaccess with a PHP login script, but thanks, maybe I can figure something out with this and google.` Link to comment https://forums.phpfreaks.com/topic/250393-is-there-a-way-to-use-htaccess-to-work-with-a-php-login-script/#findComment-1284852 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.