PDA

View Full Version : confused about index page file extension


songboy
04-19-2011, 09:29 PM
It says in my Dreamweaver 8 tutorial book that it is standard to have a .htm or .html file extension on your index page. I'm worried about this as my index page is full of php and has a php extension.
Could someone explain the rights and wrongs relating to this issue.
Thanks -
Songboy

gentleone
04-19-2011, 10:27 PM
If your page is full of PHP then index.php it is. My guess is that they wrote it like that if someone just started out with learning HTML then indeed it's most common to use index.html or index.htm. If you want to use serverside scripting like PHP then it should be index.php.

edbr
04-20-2011, 01:55 AM
yes nothing to worry about same is true for .asp or .net

songboy
04-20-2011, 09:00 AM
Thanks folks - I thought I was going to have to create new code !