phppiracy-prevention

how to identify whether my PHP script is hosted by others


I am selling PHP script online at 35$ for a individual user

Is there any way to identify whether , my script is hosted by more than one user ..

Should i use any logic in my script to find his identity?

Is there an easy way to find the pirator

Please help me. (sorry for grammatical mistakes)


Solution

  • For example, somewhere in your script:

    <?php
    file_get_contents('http://yourserver.com/tranck_script_users.php?site='.url_encode($_SERVER['HTTP_HOST']));
    ?>
    

    This way you will see which hosts use your script. Of course, anyone can remove this line from your script, there is no 100% way to know for sure.