View Single Post
Old 04-01-2008, 09:47 PM   #2 (permalink)
xenon
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

#1: I suggest you go for a cron job. Assuming you store the file name in a database, you could also set a status for it: like 0 - not processed, 1 - processing ok, -1 - invalid file. Then, the cron job pulls the first 50 files added (or less, depending on your needs), and updates the status for each file processed. Then, you would display only the files with the status '1' on your page.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote