I need some advice

Discussion in 'PHP' started by baris22, Nov 14, 2009.

  1. #1
    Hello all,

    I made an intranet web site. I installed on a formated computer. I use windows and AppServ (for php and mysql).

    My question is: I want my intranet only work on this computer. If somebody else tries to copy my site and use on another computer it sould not work.

    is there any way i can add to php code to check windows serial number or something like that?

    Can you suggest me any solution.

    Thanks.
     
    Last edited: Nov 14, 2009
    baris22, Nov 14, 2009 IP
  2. ShadyStudent

    ShadyStudent Peon

    Messages:
    341
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Sadly, this wouldn't do much as the person that took your code can easily just remove that conditional check.

    What you can do is encode (checkout zend guard) your PHP code with that conditional check of the computer it is on and in this way it might stop your Intranet site being used by another person.
     
    ShadyStudent, Nov 14, 2009 IP
  3. iMarketingGuru

    iMarketingGuru Well-Known Member

    Messages:
    486
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Encoding works but encoded files can easily be decoded / nulled. I'd say, the best thing about scripts is to make them open, so just keep it open
     
    iMarketingGuru, Nov 14, 2009 IP