7
Contributors
8
Replies
16
Views
6 Years
Discussion Span
Last Post by edwinhermann
0

Why? php code is run before it hits the client, so it can't be seen anyway. OR are you developing some stuff for users to download? If you're going open source - no need to encrypt. Are you selling your stuff?

0

It depends entirely on how you want to hide it. if people will be viewing your source, Then I use external classes that they cannot access, such as how the php pear system works

0

Usually, as Ardav says, visitors cannot even see your PHP code. Have you ever tried right clicking a website -> view source? Do you see PHP code there? :) (If that's what you mean).

0

PHP code is not visible to the end user. It can only viewed if you have administrative rights to the server but otherwise, you can not. The reason
behind that is because php is a server side scripting language.

Hope that will help

0

IMO, you'd need to have produced something pretty special to warrant PHP encoding and obfuscation.

0

I wonder if ppl can break into the site but not only stealing information while data are transferred between websites and server?

0

Yes, there's always a risk that someone breaks into the server and steals your code. Not only do they now have your IP, but also potentially passwords (to databases) etc.

You can encrypt your PHP code so that it's unreadable.

Try http://www.phpshadow.com

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.