Re: Authentication

From: Date: Sat, 28 Jul 2007 10:15:11 +0000
Subject: Re: Authentication
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-259739@lists.php.net to get a copy of this message
I looked on PHP.net but I couldn't not find anything suitable to answer my question. Within PHP, is there a way to pull the name of the user that is currently logged into the PC? I know with some of the _SERVER functions you can pull the IP of the machine and other data, is there a function within this family that would work?
If you're running your PHP script on IIS, maybe. Use print_r(): <?php
    print_r($_SERVER);
?> -- Richard Heyes +44 (0)844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support

« previous php.general (#259739) next »