rlange - 4:22 pm on Jun 13, 2012 (gmt 0)
delete-user.js.php script would do almost exactly the same thing as your current code, except it will
echo the JS instead of writing it to a file.
You'll probably want to explicitly declare the content type before
echoing anything, though.
<?php // delete-user.js.php
I'm pretty sure there are other headers that would be good to set, but I can't think of them off the top of my head.