Have your web app update the db which the daemon than watches. Make sure it can only chown files in certain directories.Fancy step 2 will be a wakeup message your web app sends to the daemon to run and report status.
Regards, KAM
*chown executed by the apache user* I need to change the uid, 'chown' for a file via the apache-perl process.
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.