Link to home
Start Free TrialLog in
Avatar of paries
paries

asked on

login to apache via php

Hello,
I am using .htaccess

what i would like to do i instead of the apache popup have a form that submits instead.

Is this possible?

I have found a function that reads the .htpasswd and validate username and password, but not sure what to do from there so that the .htaccess file see the user as logged in.

I hope i am making sense

Thanks
Randy
Avatar of yauhing
yauhing
Flag of Hong Kong image

Hi,

This may help you to solve your issue . It uses a PHP authentication with .htpasswd file (without using .htaccess file)

http://koivi.com/php-http-auth/
ASKER CERTIFIED SOLUTION
Avatar of caterham_www
caterham_www
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial