Jump to content

Make php file exist off root directory


mboehler3

Recommended Posts

Hi, I have a simple PHP question. I usually write code in HTML or ASP. In HTML when I want to access my file off of the root directory, I will name it "index.html" and can just type in the folder name to access the page. In ASP I can do the same thing with "default.asp". What can I name it in PHP to do the same?

Link to comment
Share on other sites

It is generaly index.php but it could be anything depending what file names server is set to parse

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...