how to protect php code?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • flyingbear
    New Member
    • Sep 2007
    • 7

    how to protect php code?

    I'm a newbie of php: how to protect php code? I mean the php code is on the server, is it easy for others to get the source code from server? is it possible to encode the source code?


    thanks

    bear
  • ak1dnar
    Recognized Expert Top Contributor
    • Jan 2007
    • 1584

    #2
    Php Scripts will executes on the server side and only the generated HTML outputs will display on the client side. So web client won't be able to see your codings.BUT, the if you have hosted your scripts on a hosting server on a third party hosting service provider, those peoples can see your server scripts. If it is a problem and if you need to to prevent of it, there are some tools to encode your Php scripts. Google for it and then you can find. I don't like to recommend any of them here, you know most of them are commercial apps.

    Comment

    • pbmods
      Recognized Expert Expert
      • Apr 2007
      • 5821

      #3
      Heya, Bear.

      The two most popular obfuscation utilities are:
      Zend Guard
      ionCube

      Comment

      • kovik
        Recognized Expert Top Contributor
        • Jun 2007
        • 1044

        #4
        Originally posted by flyingbear
        is it easy for others to get the source code from server? is it possible to encode the source code?
        Easy? Not if they don't have access to your server.

        Comment

        Working...