encrypting php code

Discussion in 'PHP' started by Psychotomus, Mar 31, 2006.

  1. #1
    how can I encrypt php code so I can release it and it works without people being able to view my code.
     
    Psychotomus, Mar 31, 2006 IP
  2. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Some people use the Zend optimizer to compile their php. Serves as encryption and accelerates the script. Last time I checked it was something like $100 for a small business license
     
    exam, Mar 31, 2006 IP
  3. Yns

    Yns Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Another option : Turck MMCache
    http://turck-mmcache.sourceforge.net/index_old.html
     
    Yns, Apr 1, 2006 IP
  4. BNix

    BNix Peon

    Messages:
    224
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Use some source encryption programs like sourceguardian (Need to install on server) , or use base64_decode and base64_encode function (not recommended)
     
    BNix, Apr 3, 2006 IP
  5. exam

    exam Peon

    Messages:
    2,434
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That Turck MMCache looks like a pretty good product.

    Although base64_encode has the word "encode" in it, and produces a bunch of wild-looking characters, it's not encryption (although it may fool some).
     
    exam, Apr 3, 2006 IP
  6. hdpinn

    hdpinn Peon

    Messages:
    48
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Search for "php obfuscate". Not as secure as Zend, but there are free scripts out there to do the job for you. Makes the code a mess, someone would have to spend some time to go through it and figure it out.
     
    hdpinn, Apr 7, 2006 IP
  7. inerte

    inerte Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    We use one called "Ioncube" here at work. Very good.
     
    inerte, Apr 7, 2006 IP