Hi,
I'm making something for my database to search within previous results. I completed it using temporary databases, but i have it deleting the files after the search the results. Or if they just don't even search within them, I feared the files of 30 kb's would stack up, so I made a cleanup thing for the folder. It works but sometimes deletes other peoples temp db's if their db has expired. I also decided to maybe do this, like having a checkbox field called swr which will equal the query and then when they check it, it will append the swr value to the beginning of the newest query. This doesn't work as good as the first, but I was wondering which one you think would be best. For the first option, I also thought about not deleting them at all, and using a cron job to delete them and run it every 20 minutes if the db's are 5 minutes old. What do you think?
Lavon Russell
LookHard Mods
lavon@lh.links247.net
I'm making something for my database to search within previous results. I completed it using temporary databases, but i have it deleting the files after the search the results. Or if they just don't even search within them, I feared the files of 30 kb's would stack up, so I made a cleanup thing for the folder. It works but sometimes deletes other peoples temp db's if their db has expired. I also decided to maybe do this, like having a checkbox field called swr which will equal the query and then when they check it, it will append the swr value to the beginning of the newest query. This doesn't work as good as the first, but I was wondering which one you think would be best. For the first option, I also thought about not deleting them at all, and using a cron job to delete them and run it every 20 minutes if the db's are 5 minutes old. What do you think?
Lavon Russell
LookHard Mods
lavon@lh.links247.net