added php script

quick an dirty