onetime_access Plugin

Discussion in 'Installation' started by vinlock, Apr 30, 2009.

  1. vinlock

    vinlock New Member

    Joined:
    Dec 2, 2008
    Messages:
    1
    I have an issue with this plugin I set the maxium to any number 1 -100 makes no dif then try to access the php_include protected file and I can not
    even though the product is unlimted or set to unlimted the user has maxium trys set to 1 0r 100 I still get this error



    An Error has occured

    ---------------------------------------------------------

    Access limit reached - you cannot open this page


    ---------------------------------------------------------






    PHP CODE
    -------------------------------------------------------------------------
    <?php
    $_product_id = array(8,1);
    include("/removed/removed/removed/plugins/protect/onetime_access/check_access.inc.php");
    ?>
    --------------------------------------------------------------------------



    I really need this to work we need our product to be purchased by the number of uses

    500 pack the user gets to use the form 500 times to submit his request and get his resulting data each time that occurs one would be deducted from his account now he has 499 credits left once he hits 0 he must reup or reorder

    thanks hope this makes since
  2. everbatim

    everbatim Member

    Joined:
    Dec 19, 2007
    Messages:
    65
    It seems to me there should be more PHP code in the header than just that. Have you added the session variables to make sure that the PHP page you are protecting is actually making the connection with aMember?

    I'd test it myself for you, but I haven't been able to find that "One Time Access" plugin to download and install. I've just got the "One Time Download" plugin which I modified.

Share This Page