Susan Ator wrote:

I have no control over

        1) file naming
        2) file inclusion in the directory
        3) file removal from the directory

This is all being handled through another program written in C.

Hrmm what can you do to the files? If this is a linux system, you can write a shell script that will do this sort of thing for you, and spit the contents out in another directory. Kinda overheadish too, but atleast its something different than "database, database, database" ... which to be frank, is what I would have said also.


You can create a small script that will quite simply ... do what your php script does, but at an interval. You can then take the delay out of the the php script, and just run a cron job that repeats the script.

Something tells me a that PERL or even some fancy shell scripting trickery would be faster than doing it from php, but I couldn't give you a factual calculation of execution times.

Just the thoughts of someone that obviously is lacking in sleep.


-- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to