you can use perl for that.. as it is all in the $ENV commands...

it can also be done via javascript tho you can pick up what brower or os
they are using...

I can't remember the code for it.. so i will give you the website i use for
java...
http://javascript.internet.com/ you should find something there..

Johnno

----- Original Message -----
From: "Chris Hellyar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 2:04 PM
Subject: Coding triva...


> A question for the java/php/html nuts out there, or something....
>
> I want to have a web based app detect the users workstation user name..
>
> I saw this work a while ago on a web site, it used a bit of java code to
> query your browser java environment, then stuffed in a form...  But you
> think I can find it now?
>
> I'd prefer it to work under linux/mozilla and windows/ie, but anything
would
> be a starter for 10.
>
> I've tried system.getProperty("user.name") but I get either 'undefined' or
> an error depending on what os/browser I try..
>
> And the Linux relevance? I' trying to migrate an intranet app from asp/iis
> to linux/php.
>
> Cheers,  Chris Hellyar.
>
> Selwyn District Council
> Phones: X 831 (03)324 5831 (021) 350 603
> <This message has not been inspected by the Chief Censors office>
>
>
> ######################################################################
> The  contents  of  this  e-mail  message  may   be  privileged  and/or
> confidential. If you are not the  intended recipient please delete the
> message and notify the sender.
>
> Any views or opinions presented are solely those of the author, and do
> not necessarily represent the official  position of the Selwyn District
> Council
> ######################################################################
>

Reply via email to