.htaccess & Php Processing ??

Discussion in 'PHP' started by Bohra, Apr 16, 2009.

  1. #1
    Well Basically i am trying to do something like this

    if someone opens any html file i want php to check in process.php whether the person can/cannot see the page or no..

    How exactly this is possible in my process.php the code is ready but how exactly should i connect this with all the html pages

    i tried

    AddHandler headered .htm
    AddHandler headered .html
    
    Action headered /header/header.php 
    Code (markup):
    but this doesnt open the html file at all if the process should continue
     
    Bohra, Apr 16, 2009 IP
  2. jimbursch

    jimbursch Peon

    Messages:
    33
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hmmm... how bout just giving all the files a .php extension?
     
    jimbursch, Apr 16, 2009 IP