how to add php pages in shtml?

hello please tell me how to add php pages in shtml. i desinged website in shtml but now i want add php codes/pages inside it. i tried <!–#include …and <?php include … and htaccess too. but not work …
andybody here plz help… :frowning:

any php code has to be in a php file (file.php), can’t be included in a html file. But, you can use mod rewrite to make the page look like it a shtml file.

Also, PHP must be enabled on the server. By default it is already enabled on most servers, but, not enabled
on servers hand built. If PHP has not been turned on, it will not work.

Sponsor our Newsletter | Privacy Policy | Terms of Service