|
Hi Jolt...
Search engines (especially Google) give less weight to dynamically generated pages than it does to static pages. That means pages with a php entension will rank lower than pages with a .htm or .html extension. Even if they have identical content.
Also, i've heard (never personally experienced) that some obscure and older browsers (ie: mobile, non MS/MAC OS'es etc) behave differently when the extension of the file is not the predicted .htm .html or .mob
Inline PHP is executed and parsed at the server level the same as it is in your example... to my knowledge it is no less secure. PHP Injection threats exist in both methods.
If you are suggesting the security risk is in protecting the code itself, please explain... I am not aware of any such threats and i'd really like to know what those threats are.
Mike.
|