FreeHostia Forums https://forum.freehostia.com/ |
|
Show HTML page as PHP https://forum.freehostia.com/viewtopic.php?f=4&t=66175 |
Page 1 of 1 |
Author: | gniudo [ Tue Oct 19, 2021 2:43 am ] |
Post subject: | Show HTML page as PHP |
Hi, Freehostia, this is the best webhost out there.. used it for years. im in the process of upgrading my site, and i wanted to add a simple article rotation via php script.. but of course, i don't want to have to rename my pages to .php for various reasons. Whats the trick to being able to display PHP in an html file here on freehostia? its probably some simple code in my .htaccess file. or something? https://192168ll.red/ https://routerlogin.red/ https://19216801.cc/ Thanks in advance for your help. |
Author: | bbanev [ Tue Oct 19, 2021 4:43 am ] |
Post subject: | Re: Show HTML page as PHP |
gniudo wrote: Hi, Freehostia, this is the best webhost out there.. used it for years. im in the process of upgrading my site, and i wanted to add a simple article rotation via php script.. but of course, i don't want to have to rename my pages to .php for various reasons. Whats the trick to being able to display PHP in an html file here on freehostia? its probably some simple code in my .htaccess file. or something? Thanks in advance for your help. Hello, In order to use php you simply need to edit your .html file and put "<?php" then you place your code and after it you put "?>" Best Regards, Bobby Banev Moderators Team |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |