springo Posted April 29, 2007 Share Posted April 29, 2007 Hi, I'd like to know to encrypt PHP source code. Is any editor capable of doing this, or any other software? Thanks! Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 30, 2007 Share Posted April 30, 2007 It is not an editor you are after but a specialized encoder. The most popular being ionCube and Zend Guard. Encoding your PHP source code is not cheap or easy to do for free. I am sure I have not seen any free PHP source code encoders. Why do you want to encode your source code for? Are distributing your own PHP script? If you are worried people will be able to see your PHP source code when viewed from a web browser, then don't worry as no one can see the PHP source code, all they see is the generated output from the PHP script when they go to View > Page Source or when they go to download the page. The only way someone can get to see your source code is by downloading the PHP file via FTP. In order to do that they must know your FTP username and password. Quote Link to comment Share on other sites More sharing options...
springo Posted April 30, 2007 Author Share Posted April 30, 2007 I was rather worried by my (free) shared web hosting, which I'm not sure whether to trust or not Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted May 1, 2007 Share Posted May 1, 2007 If you are using a free shared host then no one can come in to your "section" of the shared host, unless you give them your sites username/password If you are using the free host for doing business then I'd recommended you go for a premium host. You can get good cheap premium hosting for around $10 p/month or less. Quote Link to comment Share on other sites More sharing options...
keeB Posted July 14, 2007 Share Posted July 14, 2007 The correct term you're thinking of is Obfuscation. Since PHP is not a compiled language, the best you can hope for is to make it such a tedious task, no one would bother. Google uses this approach in Gmail. Quote Link to comment Share on other sites More sharing options...
Guardian-Mage Posted July 14, 2007 Share Posted July 14, 2007 Which hosting company are you with? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.