Ezilon.com - Target Your Audience, be Seen in Your Region

Home page as a php instead of html or htm..

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.

They have: 42 posts

Joined: Oct 2006

What is the method or procedure to make a"default.html" or "index.html" into a php file, i.e. default.php or index.php? Would the HTML code have to be stripped out of the file?

Does making that change create more problems than it solves or improves?
I'm just curious.
I wondered if a php index or default file would be easier to manage and be less suseptible to hackers, SPAM, trolls, worms, trojans, and viruses?

Just curious...
rick (shobuz99)

demonhale's picture

He has: 3,301 posts

Joined: May 2005

It doesn't matter, you can put an html code inside a php file and it will function like an html file. But putting a php code to an html file will not work unless you allow your server to interpret html files as php. In security, it is the same as having either of them, not unless of course theres an active php code...

He has: 36 posts

Joined: May 2006

shobuz99;214056 wrote: What is the method or procedure to make a"default.html" or "index.html" into a php file, i.e. default.php or index.php? Would the HTML code have to be stripped out of the file?

Does making that change create more problems than it solves or improves?
I'm just curious.
I wondered if a php index or default file would be easier to manage and be less suseptible to hackers, SPAM, trolls, worms, trojans, and viruses?

Just curious...
rick (shobuz99)

use default.php as your homepage.

i face prob with index.php before. where the site cant get rated/ranked. upsad. no more index. no reason. i cant explain how this happen.

Charles Gan
Hosting Rebate: Hosting rebates + Discounts for hosting plan
Hostgator Coupons : Buy hostgator hosting with discount + hosting rebates
Hostgator|Bluehost|Hgc25.com|Hostgator Review