Results 1 to 2 of 2

Thread: includes in page extension .html

  1. #1
    Join Date
    May 2013
    Thanked 0 Times in 0 Posts

    Default includes in page extension .html

    is it possible to use includes in page extension .HTML .. in .php it works .. but I want this should happen in HTML page .. I tried but not success

  2. #2
    Join Date
    Jul 2008
    Derbyshire, UK
    Thanked 599 Times in 575 Posts
    Blog Entries


    Its not ideal but you can setup a server to parse PHP in HTML pages via .htaccess - it makes the server work harder, and web pages slower, but it can be done (if the server is set up that way). Here's some info in that:

    If it doesn't work, speak to your web host as you might not have the appropriate privileges or the server may not be setup that way. If it isn't, you won't be able to use PHP in .html pages so you'll need to change the extension to .php
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. Replies: 2
    Last Post: 07-25-2012, 01:33 PM
  2. Page Extension Problem
    By PsionicSin in forum CSS
    Replies: 2
    Last Post: 09-16-2010, 10:39 PM
  3. Passing data from one HTML-page to another as a technique for menu-includes
    By molendijk in forum Coding tips & tutorials threads
    Replies: 0
    Last Post: 02-19-2009, 01:13 AM
  4. Ajax Rotating Includes Script - Can I preload a page?
    By vensland in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 03-17-2006, 12:49 AM
  5. Find In Page Script, help for extension wanted
    By UltraKnorrie in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 07-09-2005, 09:08 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts