note 14942 deleted from ref.exec by vincent
| From: | vincent@php.net | Date: | Mon, 08 Sep 2003 15:13:12 +0000 |
| Subject: | note 14942 deleted from ref.exec by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55847@lists.php.net to get a copy of this message | ||
Note Submitter: markie@gnx.net
----
I found a way to get a userlist (users logged in at Novell or NT) into a PHP-script. Because
executing commands from PHP seems a lot of trouble i made a bat-file being executed every hour on
the server. In the bat-file i put: nlist user /a >> aaa.txt Now, from PHP you can easily read
the aaa-file and there you are, all user in your PHP-script!