index turned to php file