I have written a licensing system for my script and now i saved it an file called lic.php in the root folder
I am going to encrypt that with ioncube when giving to a client side
and i will simply include
include "lic.php"
to call the licensing system
But the problem is when i simply include the code
include "lic.php"
the user can directly remove the line to get the script worked
So can some one help me in coding a script inside the lic.php which will make the script to prevent from running if the code i.e,
include "lic.php"
is removed from the file
Note that i will include the line
include "lic.php"
in all the php files in my script
Great Thanks!