Hello all,

I have an .htaccess and .htpasswd file in a directory.  This is working
fine, when anyone attempts to enter this directory, they are prompted for a
user name and password, and if correctly entered, the page will load fine.

What I would like is the ability to capture, or trap the user name.

Immagine, in the simplist example, when the form loads, I could have

  print "Hello".$username;

Assuming $username was the varable for the user who logged in.

How can I do this... any ideas?

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to