moving index file from html to php