I have a process for deleting post entries in a PHP app, and I\'m trying to delete the image associated with the post, if it exists. It uses a PHP file and javascript. The p