Prevent variable changes

Discussion in 'PHP' started by Triexa, May 15, 2007.

  1. #1
    My source code is going to be encrypted, so people will be unable to alter important data. HOWEVER, I intend to implement plugins/hooks similar to WordPress/vBulletin... This seems like an open door for someone to just change all my variables - such as various limitations based on their license.

    Is there ANY way I could at least help guard against this sort of violation of my software?
     
    Triexa, May 15, 2007 IP
  2. CodyRo

    CodyRo Peon

    Messages:
    365
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If they're in functions set them to private, if in open can use constants
     
    CodyRo, May 15, 2007 IP
  3. srinet

    srinet Peon

    Messages:
    172
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I suppose encrypt with iconcube or Zend
     
    srinet, May 15, 2007 IP
  4. srinet

    srinet Peon

    Messages:
    172
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    But best thing is keep your staff as open source.
     
    srinet, May 15, 2007 IP
  5. coderbari

    coderbari Well-Known Member

    Messages:
    3,168
    Likes Received:
    193
    Best Answers:
    0
    Trophy Points:
    135
    #5
    you can use various encryption tools available.but i agree with srinet.why dont you keep them open source and let others share the best thing of you.
    at the end there will be nothing remained encrypted :)
     
    coderbari, May 15, 2007 IP
  6. Triexa

    Triexa Active Member

    Messages:
    580
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #6
    Not in functions, classes... but the whole extended OOP is unavailable in PHP 4.. :(
     
    Triexa, May 15, 2007 IP