On Wed, Mar 19, 2008 at 2:19 PM, Graham Brown (CompSYS)
<[EMAIL PROTECTED]> wrote:
>
>  Does anyone know how to retrieve the user name (and password) they used to
>  login to the folder either with PHP/Perl?  I want to basically have "Welcome
>  back..." then the persons name.
>

<?php

if(isset($_SERVER['REMOTE_USER'])) {

        $cLoginName = $_SERVER['REMOTE_USER'];
} else {
        $cLoginName = "Intruder! Thief! Alarm!"
}
?>

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to