hello, I want ask Can php script coding or convert to Javascript? I will sell script I have made but I want protect it in order other people can't modify or resell my script... thanks...
Conversion of PHP to JS is impossible, as PHP works server-side and JS client-side. You can encode PHP scripts and obfuscate JS to protect source code.
You can make the things difficult for somebody who wants to take the script but there is not 100% secure way to save your script.