note 14942 added to ref.exec.php

From: Date: Wed, 22 Aug 2001 09:00:58 +0000
Subject: note 14942 added to ref.exec.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16976@lists.php.net to get a copy of this message
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! http://www.php.net/manual/en/ref.exec.php

« previous php.notes (#16976) next »