Protecting other Php scripts

Discussion in 'Setting-up protection' started by biju_ham, Jun 24, 2010.

  1. biju_ham

    biju_ham New Member

    Joined:
    Aug 29, 2006
    Messages:
    7
    Hello,

    While using phpinclude to protect other php scripts, is there any way of protecting particular functions for eg. in a knowledge base script

    I wouldnt want to protect "/index.php?action=category&id=2" while protecting

    "/index.php?action=article&id=2 "

    Thanks in advance for any ideas.

    Cheers
    Bijou
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    Do an if/then check before the php include to see if
    action=article
    and
    id=2

    Then run it.

    David

Share This Page