Home page as a php instead of html or htm..
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,278 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...
charlesgan posted this at 16:36 — 1st February 2007.
He has: 35 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
Looking for cheaper web hosting plan? Hosting Discount, Rebate and Cash Back
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.