Results 1 to 2 of 2

Thread: includes in page extension .html

  1. #1
    Join Date
    May 2013
    Posts
    36
    Thanks
    0
    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
    Location
    Derbyshire, UK
    Posts
    1,945
    Thanks
    16
    Thanked 304 Times in 303 Posts
    Blog Entries
    11

    Default

    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: http://stackoverflow.com/questions/4...n-as-php-files

    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 | Latest News RSS | Facebook | Twitter |
    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 |
    The only limit to creativity is imagination: JemCon.org

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, 12: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-16-2006, 11:49 PM
  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

Bookmarks

Posting Permissions

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