Update index.php

Made it actually work in a server.