i need help important about the license php

Discussion in 'PHP' started by mohamedgpaly, Dec 29, 2011.

  1. #1
    Hello I need help with

    I want to help in the patch or in the creation of the license code, for example, in this way

        public function license( )
        {
            global $licene_number;
            global $domain_name;
            global $tmps;
            $url = "http://localhost/license.php?license=".$licene_number."&domain=".$domain_name;
            $licene_number = get_license_access( );
          $domain_name = get_domain( );
            if ( !function_exists( file_get_contents ) )
            {
                echo $tmps->print_error( "error" );
                exit( );
            }
            else
            {
                $result = @file_get_contents( $url );
                if ( $result != "SUCCESS" )
                {
                    return "INVALID";
                }
            }
            return "SUCCESS";
        }
    
    }
    PHP:
    How do I schedule a file license.php
     
    mohamedgpaly, Dec 29, 2011 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    What do you exactly want? please give more details :)
     
    EricBruggema, Dec 29, 2011 IP
  3. mohamedgpaly

    mohamedgpaly Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thank you very, very to answer

    I want programming a simple licensing system to protect my script
    And to establish license number for each client ;)
     
    mohamedgpaly, Dec 30, 2011 IP