Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Modify SubEthaEdit's mode/file extension mappings' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Modify SubEthaEdit's mode/file extension mappings
Authored by: taran on Jun 10, '04 02:32:14PM
He could specify .html files to be handled by PHP within a specific virtual host or even only within a specific directory. I doubt that he's having all .html's server-wide handled by PHP. I've done this myself in the past for a couple of reasons:
  1. At the time I prefered seeing .html in the address bar - now I understand that the "average" computer user couldn't distinguish the address bar from Adam.
  2. Most forms I create have two PHP scripts - the form and the script that the form posts to - I use .phtml for scripts that build HTML pages and .php for scripts that only perform actions and pass the browser on to another page.


[ Reply to This | # ]