Added three php scripts.

r? @RaunaqSuri