Single user access a particular page

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Bala Kumaran
    New Member
    • Jan 2013
    • 30

    Single user access a particular page

    I've added a membership system in my website. I want the php code to access a particular registered member in a particular page in my website. by equalising that member email in the php code. The reason for I ask you about this just for premium members access a particular page...
  • Anas Mosaad
    New Member
    • Jan 2013
    • 185

    #2
    Your question is not clear. Would you please clarify what are you trying to do to be able to help?

    Comment

    • Bala Kumaran
      New Member
      • Jan 2013
      • 30

      #3
      Optimize the User Access Controll(Limit the user accessing page contents):
      I've added file download options in my website. Few files are allowded to download by all registered user in my website. I want to add premium downloading. These premium downloads should be accessed only by paid user. The following php code I've added to access only for logged user. If any one didn't logged in, they can't access the page that you know.
      The code is
      Code:
      <?PHP
      require_once("./include/membersite_config.php");
      
      if(!$fgmembersite->CheckLogin())
      {
          $fgmembersite->RedirectToURL("login.php");
          exit;
      }
      ?>
      "I want the code for access a page by paid user (the code should be included the e-mail address of paid user for only can access by that user only)"

      Comment

      Working...