[Javascript] getenv=("USERNAME")

Scott Hamm ScottHam at clientlogic.com
Fri Oct 8 06:23:26 CDT 2004


At bootup, my Intranet workstations %USERNAME% variable got assigned to
user's account name i.e. ScottHam, and I would like for my web site to
acquire %USERNAME% into php's variable $USERNAME, how do I get around to it
using JavaScript?  The plan here is to acquire %USERNAME%, look up in
NTLogon database, acquire the full name then return with greeting on the web
using php.  If you got another way using JavaScript to acquire SQL result,
then I'm open ears.






More information about the Javascript mailing list