restrict to view a page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    restrict to view a page

    can someone help me with a code that restricts user from viewing a page?

    the conditions are:

    should have 100 plusses, 100 chatposts, 100 forum posts, atleast online for a total of 10 hours,

    all conditions should be satisfied for viewing the page.
    LDSWAPWORLD sigpic
    site closed.
    im busy with other things in life like facebook , send me PM so i can add you
    www.pinoySG.com

    don't ask for help if you're not even helping yourself!
    i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.



    #2
    do sumfin like

    $plusses = count plusses from db
    $chatposts = count chat posts from db
    $onlinetime = get online time in hours


    if (($plusses<100) || ($chatplusses<100) || ($onlinetime<10))
    {
    echo "sorry u need more stuff";
    }else{
    echo "u can see this page";
    }

    Comment


      #3
      Originally posted by pimpin View Post
      do sumfin like

      $plusses = count plusses from db
      $chatposts = count chat posts from db
      $onlinetime = get online time in hours


      if (($plusses<100) || ($chatplusses<100) || ($onlinetime<10))
      {
      echo "sorry u need more stuff";
      }else{
      echo "u can see this page";
      }
      Thanks for the idea. Can u post the whole code? Sorry, im not a coder so i dont know how.
      LDSWAPWORLD sigpic
      site closed.
      im busy with other things in life like facebook , send me PM so i can add you
      www.pinoySG.com

      don't ask for help if you're not even helping yourself!
      i am tired of seeing the line "best site", i want to see something NEW and UNIQUE. maybe if i find one, ill go back to my wap life again.


      Comment


        #4
        Tnx brad, it can help me
        com site: http://vampist.net
        download site: http://wapdloads.net
        fb: http://www.facebook.com/pmplx

        Comment

        Working...
        X