Forum Moderators: open
1. I currently use php files for everything. There are some sites i see out there on the web, that are .html but i know are dynamic. Is this a simple htaccess trick where they rename the page for the browser, or is there a way for .html pages to be running all these scripts. I guess can i run php code from within html, because i thought no, so what might they possibly do.
2. Meta Tags, since i include them on every page, is there a way to dynamically include them so that if i need to update it, it filters through on every page, rather than just changing each page manually.
3. I guess is there a good book out there to understand how companies run huge sites. Like microsoft, each page is generated on the fly, and im guessing they read everything from a database, and i know my site is not that big, its only like 100 pages, but i just want to learn thats all.
Thank you so much to whoever answers. I appreciate it.
I guess my webhost (GoDaddy.com) doesn't allow me to change settings like that.
So, if PHP doesn't work in HTML pages after trying several different methods, than you might want to check with your webhost.
Hope this helps!
AddHandler application/x-httpd-php .html .htm
And now i just rename my .php to .html or you can have another script in your .htaccess and have .php's forwarded to .html and it works. Thank you.