It is currently Thu Dec 12, 2024 6:58 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Show HTML page as PHP
PostPosted: Tue Oct 19, 2021 2:43 am 
Newbie
Newbie

Joined: Tue Oct 19, 2021 2:40 am
Posts: 1
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.


Last edited by gniudo on Thu Nov 04, 2021 4:13 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Show HTML page as PHP
PostPosted: Tue Oct 19, 2021 4:43 am 
Newbie
Newbie

Joined: Wed Apr 29, 2020 4:53 pm
Posts: 25
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ]  Moderators: Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Hosting | Domains | Servers | Extras | Order | Support | Contacts | FreeHostia © 2011