Search results

  1. folkdisc

    PHP not working

    At a quick guess globally renaming all files .htm->.php would break ~4995 out of ~5000 pages! A few years back, lots of big sites had dynamically served htm pages. I was on a host without mod_rewrite, and it felt like a reasonable decision. But clearly in retrospect...! Thanks for the answers...
  2. folkdisc

    PHP not working

    Using the .htaccess file has been a bit fussy, in that every few months it would get overwritten, and the site would go awol. Another reply on this forum suggested using mod_rewrite to serve php from html addresses. Would you recommend this? Or just we-write the site with php extensions? This...
  3. folkdisc

    PHP not working

    Got it working for both problems using this in .htaccess Hope this helps somebody. AddType text/plain .* AddType application/x-httpd-lsphp .html .htm .php
  4. folkdisc

    PHP not working

    My site uses html pages with php content. The whole site is dynamic. For the last few days php is not being processed, which just outputs .htm as nonsense pages. Also, when I open a page with a .php extension, my browsers open a download popup window, instead of just displaying the page. For...
Top