The only solution which would be sorta effective would be to code directly in a certain main file which does not need to be edited. Add a ip restriction like say if the current ip is not the correct ip a error message will show not allowing execution.

Then encode that file with ioncube as ioncube is the only genuine encoder which cannot be decoded by "many" people their is only a few who can with the newer version so it would easily fight against nulling and reselling and such.
Loonycgb2 Reviewed by Loonycgb2 on . How to protect your script? Heya, is there any way to apply somekind of license system in php scripts? I had to code a script for a client, kind of a CMS and in order to keep the price down we both agreed that I could keep the rights on my script to sell it somewhre else. Though first I would like to add something to avoid the client who bought my script to sell it to someone else. Or even share it. Any idea? Rating: 5