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)
[EMAIL PROTECTED]
www.phpbeginner.com
-----Original Message-----
From: toto [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 6:17 PM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]