Hi Use my solution and your php code is more safe encode your files by Ioncube,SourceGuardian,phpSHIELD,Zend,TrueBug ,nu-coder or ... <?php namespace MyProtect; class myProtect {} // Your code here (encode your files with php 5.3 and 5.3+ namespace MyProtect; class myProtect {} ?> PHP:
You have billion dollar companies who worry less about code theft than your PHP newbie trying to protect their 9 line page counter. News flash.. we are developers. Most of the time we can recreate whatever you make without seeing your source. You are worried about something miniscule.
Well PHP does run on the server, so unless you are selling your scripts then this isn't really needed.
I don't understand, PHP is ran server side not client side. People shouldn't be able to see your PHP source code in the first place unless you have a vulnerability in your script. And assuming they can get to your source code from a vulnerability they can most likely re-create the site themself
Since he's suggesting Ioncube, SourceGuardian, etc... I'm pretty sure he's aware that PHP runs on the server. So he's most definitely referring encryption for code distribution (a very, very nasty thing to do, by the way). What troubles me the most is his other solution, though. Placing the code between namespaces and suggesting to encode it with PHP 5.3 or above. Seriously, what the Effin' eff? This makes no sense whatsoever. Unless the OP provides more details, this thread should be closed and vanished from this planet. Also, this pretty much:
So why you purchase lock? open your door home More big companies protect codes, whmcs and .................. because some developers steal codes and use for themselves. my Solution only stop stealers
But I fail to see how. What's the purpose of the namespaces, and how do you encode your code with PHP? Most of us are aware of Ioncube and the others, so that aside. What's with your other solution?