0

Possible Duplicate:
Code obfuscator for php?

Hi,

Is it possible to encode all php code before uploading to someone server?

Actually I want to encode my php code so that no one can use without my permission...

Community
  • 1
  • 1
PHP Ferrari
  • 15,038
  • 26
  • 81
  • 147

4 Answers4

1

You can put it into a folder where none of the other users have access to. If you're not an admin, but others are, you have little chance for that, though.
@other answers: Obfuscation is not encryption. Obfuscated code is still code and can be used somewhere else...

Martin Hennings
  • 15,707
  • 9
  • 41
  • 66
0

Read about http://en.wikipedia.org/wiki/Obfuscated_code

And think about http://www.zend.com/products/guard/

Svisstack
  • 15,446
  • 6
  • 63
  • 100
0

You could use a source code obfuscator. As php is a scripting language you can not upload pre-compiled code.

heb
  • 717
  • 4
  • 7
0

Use Ioncube Encoder. http://www.ioncube.com/

Theodore R. Smith
  • 20,454
  • 12
  • 56
  • 86