So i can put an html file in a folder, but does it need the snippet of code at the..

Discussion in 'Setting-up protection' started by novi75, Feb 3, 2011.

  1. novi75

    novi75 New Member

    Joined:
    Jan 23, 2011
    Messages:
    16
    So i can put an html file in a folder, but does it need the snippet of code at top?

    Anton/Alex told me to save my .html as a .php and add a snippet of code. Do I have to go through the bother of .php?

    Can't i just keep the page .html?

    Brad
  2. khasner

    khasner New Member

    Joined:
    Jan 23, 2011
    Messages:
    39
    I am not sure what the code does ? Did you specifically request something special to be coded ?

    There is no problem with putting any file .html or otherwise inside a protected folder...you need to determine why he told you about the snippet and why you might need it, but for default operation you do not need anything but plain html files.
  3. thehpmc

    thehpmc Member

    Joined:
    Aug 24, 2006
    Messages:
    901
    You are at an advantage to the rest of us as you can see the 'snippet of code' you refer to. Problem is nobody else can!!
  4. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    I think hes refering to the php include code. You need this if your folder isnt protected, and want to protect individual files- for this you would use a php page.
    If the folder is protected, then html is ok.

    David

Share This Page