Okay I have like 100k pics on my server from people uploading. I store all the pics in a database but I only have 60k entries in the database. What I need is a script that looks a the pics on my server and then looks at the database if the picture is in the database then it will leave it alone if it can't be found in the database then it will delete it from my server. I'm just trying to cleanup my server a little bit.