I'm trying to have my host run php scripts on html files. I had no .htaccess file on my root, so I created a text file with this: AddType application/x-httpd-php .htm .html and put it in the root. when I try to see my page, my browser DOWNLOADS the html file as if it was an application. please tell me what I did wrong Thanks!
That's one of the ways - do you have cpanel on that host ? Actually I found another thread on this : http://forums.digitalpoint.com/showthread.php?t=7584
Thanks, that fixed the download part, but the php script is not working. I'll keep trying. btw, the host is godaddy
I am not sure what pannel comes with godaddy but should you have apache handlers in it try adding it from there. Otherwise you can try one extension at a time like : AddType x-httpd-php .html AddType x-httpd-php .htm