Rachana Rachana - 10 months ago 42
SQL Question

Giving default page to a project

I am working on a project in php and iis. All the files are in a folder public. Every time I have to type this entire url to enter a page. Is it possible to type just space and enter any default page of the project?


is given, I can set a default page using iis manager default document option. But I need to go to that document only if
is given.


Create a index.php file in your root directory of localhost and place just the following code in it.


And make sure there is no other index file in your root directory wheather .html or .php

Hope it works!!!