Quote:
	
	
		| 
					Originally Posted by spacedog  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"; ?>