[PHP] .htaccess and determining if a user is logged in

2001-07-24 Thread David Hall
I'm using Apache .htaccess to require certain users to log into the system in order to view certain files. However, on one of my php scripts, it's not within the realm of .htaccess protection. How do I determine if the user viewing the page is an authenticated user or not? I want to present these

RE: [PHP] .htaccess and determining if a user is logged in

2001-07-24 Thread David Hall
I've done further investigation and it seems that if I go with the approach of looking for a REMOTE_USER value, I'll have to do the following: Since Apache only fills out the REMOTE_USER if the file is in a protected directory, I have to make a symbolic link within a protected directory to the

Re: [PHP] .htaccess and determining if a user is logged in

2001-07-24 Thread Jason Brooke
I've done further investigation and it seems that if I go with the approach of looking for a REMOTE_USER value, I'll have to do the following: Since Apache only fills out the REMOTE_USER if the file is in a protected directory, I have to make a symbolic link within a protected directory to