Update index.php

updated to use php