View Single Post
Old 10-14-2006, 05:53 AM  
AnnaSucks
Confirmed User
 
Join Date: Jun 2006
Location: Finland
Posts: 279
Quote:
Originally Posted by spacedog View Post
What do I need to do to get the following code to work on pages that do not have the .php extension.. seems it only works when the page is pagename.php, but I need it to work on .shtml, .htm & .html, etc... what can I do?
Do you mean you want to have that code on a page other than .php or you want to include files other than .php? I don't think you can put php ON a .html page, but you sure can INCLUDE a html page on a .php page. If that makes any sense.

This one has always worked for me:

PHP Code:
<?php include "file.php"?>
__________________
Quote:
A man without a belly is not a man
AnnaSucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote