Is it possible to use the above in PHP4. I would like to use the Apache user id order to set a cookie up which I can then user in a welcome message for subsequent visits.
Cheers
Chris
are you referring to the owner of the apache process, or someone who has used .htaccess/.htpasswd authentication?
im assuming you would want to check the second scenario using $PHP_AUTH_USER
p.
Yes thanks, it's the second case.
I'll read up on this 🙂