in reply to Deleting Multiple Files Revisited
error 500 could be that you're not sending header info. do you print header before anything else?
~Particle *accelerates*