So when you point your browser at a website the webserver looks in the document root dir (as specified in web server configuration) and finds index.html, then serves that back to the client.
My question is how do I get it so that the first page browsed is the result of a script (PhP in this case!🙂 -- or in other words, what if I want my first page to have dynamic content?
I can only think of two solutions
1) Have some sort of redirect in index.html that sends the browser off to a script. Is this bad because every hit on the site creates two hits, one to get index.html and then the redirect
2) Change web server configuration so that it servers out a file other than index.html. I dont even know if this is possible.
any experienced developers out there who have a good solution? Thanx in advance!
m