Added a sample php file
Modified script