Added PHP; added post-deletion actions