Re: Detecting Username's again
| From: | Peter | Date: | Fri, 21 Jun 2002 21:09:04 +0000 |
| Subject: | Re: Detecting Username's again | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14337@lists.php.net to get a copy of this message | ||
I don't know myself, but you could try setting the environment variable,
then getting the machine to open a page on the server which prints out all
the variables, like phpinfo().
"Carl Whittaker" <cwhittaker@chaffordhundredcampus.thurrock.sch.uk> wrote in
message news:20020621124905.8786.qmail@pb1.pair.com...
> I posted a little while back regarding the detection of network usernames
in
> php for an intranet. But an idea i had was to actually set up the username
> as a windows environmental variable on all of the computers on the network
> (which i can do quite easily) but the problem im having is actually
getting
> that variable sent to the webserver so that i can work with it in php.
>
> the bottom line is can i force a machine to send a windows variable to a
web
> server (baring in mind that i have complete acccess to all computers on
the
> network).
> This is my last ditch effort to do this. But if anyone has any other ideas
> id greatly appreciate them as this one has been bugging me for over a
month
> now
>
> Im using Apache 1.3.26 (thinking of moving to Apache2) and id be willing
to
> use IIS to get this feature
>
> SOS help me!
>
> gratefully,
> Carl
>
>