RE: [PHP] file listener
| From: | PHPBeginner.com | Date: | Thu, 22 Feb 2001 11:14:49 +0000 |
| Subject: | RE: [PHP] file listener | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41140@lists.php.net to get a copy of this message | ||
from PHP - now, but you can set a script which will check the file size each
minute and if finds it different does something.
It will have to run under cron.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: toto [mailto:yanto@jetcoms.net]
Sent: Thursday, February 22, 2001 6:17 PM
To: php-general@lists.php.net
Subject: [PHP] file listener
Hi...
I have a file, say temp.txt. It's just a kind of logging file. When my
system write one line data to this file, is there any real time way to know
this event from php (or other scripting language) ?
TIA
-toto-
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net