photos in a folder
| From: | elias | Date: | Sun, 23 Nov 2003 02:13:33 +0000 |
| Subject: | photos in a folder | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-31702@lists.php.net to get a copy of this message | ||
Hey. first of, im really new to PHP, so im still learning.
The problem i have now is:
i have a dir with 600+ photos, and a database with 500+ photos (due to the
fact that when i deleted photos from my webpage, i apparently only deleted
it from the database, and not the dir.
so.. can someone please tell me how to do a batch script that compares the
dir with the database, and deletes the file thats not in the database?
thanks
/elias