Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25
  1. #21

    Default

    I have edited a few parts of the script which I found errors with and edited the readme file for clearer instructions. Click here to download my slightly modified version.


  2. #22
    Join Date
    Nov 2006
    Location
    Leeds, Yorkshire
    Posts
    992
    Tokens
    0

  3. #23

    Default

    Quote Originally Posted by emergency View Post
    Try downloading my version, I fixed that error.


  4. #24
    Join Date
    Oct 2006
    Posts
    602
    Tokens
    0

    Default

    Quote Originally Posted by hybride View Post
    Try downloading my version, I fixed that error.
    Hey,

    I would like to thank you but in about 25mins I will give you the code which works in PHPmyadmin.

    I have made it bettter,

    Thanks,
    Nick

  5. #25
    Join Date
    Nov 2006
    Posts
    163
    Tokens
    0

    Default

    Toms already nulled it.

    Look at the license system:

    PHP Code:
    $ip $_SERVER['SERVER_ADDR'];
    $hostname='lic.openpipe.co.uk';
    $mysql_login='license';
    $mysql_password '**removed for nicks sake**';
    $database='license';
    if (!(
    $db mysql_connect($hostname$mysql_login $mysql_password))){ 
    die(
    "Can't connect to mysql.");
    }else{ 
    if (!(
    mysql_select_db("$database",$db)))  { 
    die(
    "Can't connect to db.");


    $result1=mysql_query("SELECT * FROM `licensing` WHERE `ip` = '$ip'");
    $num1=mysql_num_rows($result1);
    if(
    $num1 1){ 
    include(
    'http://openpipe.co.uk/license/no.php');
    exit;

    Loving it.

Page 3 of 3 FirstFirst 123

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •