Jump to content

Open up .php file without direct reference


ala888

Recommended Posts

Is it possible to open up a php file in a sub directory of root without specifically setting it as a destination; but rather, only referencing the folder it is in ? Similar to how, index.html, opens automatically when viewers visit the home page - despite it never being explicitly called.

Link to comment
Share on other sites

No that's not what I meant.

lets say my directory looks like this

 

root/

index.php

anotherlink/

anotherlink.php

 

how do I make it so that anotherlink.php opens automatically upon calling

"www.domain.com/anotherlink/

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...