Your search results:


Running PHP on HTML Pages

Normally, if you want to run PHP scripts on a web page you will give that page a .php file extension. Otherwise, the PHP script will not be parsed (or executed). However, if the page already exists with a .htm or .html file extension, it may not be convenient or desirable to change the extension.

Fortunately, there is a simple alternative to changing the file extension. You can instead add a simple instruction to a .htaccess file, as this post demonstrates.

Read more

Categories: HTML, PHP, Web design | Tags: ,

What Now?

Search all Entries | Search by Category

Check out the web design ebooks at Books for Learning

Return to top