Can PHP get info from .htaccess
Posted: Fri Dec 27, 2002 11:26 am
The first page of my members area is a Perl script and has to stay that way, the other areas, about 5, are all PHP based. Im trying to make sure users just dont type in the URLs of the member areas and get direct access.
Can I use .htaccess with PHP? In Perl, once a user is authenticated we can use REMOTE_USER (I think its that one) to get the info and pass it to the script, but can PHP use the same info?
I thought about using sessions (Id have to learn how) but Im not sure if that would work here since Im starting out in a Perl script.
Any thoughts?
Can I use .htaccess with PHP? In Perl, once a user is authenticated we can use REMOTE_USER (I think its that one) to get the info and pass it to the script, but can PHP use the same info?
I thought about using sessions (Id have to learn how) but Im not sure if that would work here since Im starting out in a Perl script.
Any thoughts?