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

Your name:

Reply:


Posted by Lars Eighner on 01/04/08 16:23

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];'

--
Lars Eighner <http://larseighner.com/> usenet@larseighner.com
Countdown: 382 days to go.

[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

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