Reply to Re: getting the username variable and putting it in txtbox?

Your name:

Reply:


Posted by Jerry Stuckle on 01/04/08 18:23

Lars Eighner wrote:
> In our last episode,
> <200b088c-b423-4872-b843-a8aea0742805@5g2000hsg.googlegroups.com>, the
> lovely and talented paul814@excite.com broadcast on comp.lang.php:
>
>> Is it possible using PHP to get the value of the current user logged
>> in to the computer and then put that into a textbox?
>
>> Say I log into my computer as smith
>
>> I then want smith (or whoever) is logged into my windows PC to be
>> echo'ed into a textbox.
>
>> Can something like this be done?...How would you go about doing it?
>
> php -r 'echo $_ENV[USER];'
>

That gives the user on the server - not on the client.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация