Posted by Gordon Burditt on 07/13/05 03:32
>is it possible to have a php script running as a daemon in the
>background that automatically performs something (ie, a php script)
>when a file is updated in a specific folder/directory?
Command-line-only PHP does exist but it may not be present on
hosted sites if the host didn't build it. Such a script won't
"automatically perform"; it will need to check periodically and
do something if needed.
>if not, is there
>something non-php that does this which can be set to automatically run
>a php script when a file is modified?
Cron can run a script periodically. The script still needs to check
and do something if needed.
Gordon L. Burditt
[Back to original message]
|