php include ??'s

Discussion in 'Setting-up protection' started by jimmyjam, Nov 27, 2004.

  1. jimmyjam

    jimmyjam Guest

    I am using the amember script to protect a members area using the gallery 2 script.

    I have the template global.tpl which i added the include text to, this did not work, I view the source and the include is there but it's just lets me in.

    I then tried the same thing with the main.php file for gallery, this time I get an error saying that product id was not defined DIED. The product ID is assigned.

    Am I doing something wrong?

    Do I need to use it in conjunction with something else? Do I need an apache mod installed? please help.
    Thanks
  2. alex

    alex aMember Pro Customer Staff Member

    Joined:
    Jan 24, 2004
    Messages:
    6,021
    Jimmy, just try use aMember CP -> Protect Folders.
  3. jimmyjam

    jimmyjam Guest

    with the includes? or without?

    More details please

    Thanks

Share This Page