It's my understanding that if the file type is not .php (or one of it's variations) the php parser doesn't get invoked on the web server so the code gets treated like any other content and is displayed.
Right. You can edit your .htaccess file to parse html file as a php file. Check this link.
nav33n
Purple hazed!
4,465 posts since Nov 2007
Reputation Points: 524
Solved Threads: 356