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 posted this at 03:55 — 26th January 2007.
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...
Visit my New Blog Gee, Please... | Designer Graphics 9
charlesgan posted this at 16:36 — 1st February 2007.
He has: 36 posts
Joined: May 2006
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