vBulletin and php_include protection, how to?

Discussion in 'Integration' started by margiemastrangelo, Mar 16, 2011.

  1. margiemastrangelo

    margiemastrangelo New Member

    Joined:
    Mar 15, 2011
    Messages:
    1
    I'm just installing and everything went great, connections to db, gen setup, products, all work just fine. vbplugin/amember htpasswd works with that lovely grey box. Love that I was able to do all of this myself in no time, but I'm stumped now :(

    I have no idea where to put this code in vBulletin (see below). i read both forums (amember, vbulletin) found some mention of php include template, where is that? how to?
    Sorry, I'm not a php girl. Wish I could use new_rewrite but (RewriteRule doesn't work in .htaccess files on this server) so I'm waiting for support form ISP in the hopes they allow this module. would love use php_include for now.

    -------------------------------------------here's the code
    This method of protection is simple - your must edit your PHP files and include to TOP of each PHP file (or just into one which is included by all other files) these lines of code:

    <?php
    $_product_id = array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24);
    require_once '/providedbyprog/providedbyprog/providedbyprog/amember/plugins/protect/php_include/check.inc.php';
    ?>

    what to do with all those lovely letters and numbers up there, hmmmm ? ;)


    any help would be so greatly appreciated
    cheers,
    margie
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    Margie,
    Please contact us in helpdesk and provide access info I will check why new rewrite protection does not work exactly and will help to fix this issue.

Share This Page