Jump to content


Photo

Stopping people from stealing my code


  • Please log in to reply
5 replies to this topic

#1 Humpty

Humpty
  • Members
  • PipPipPip
  • Advanced Member
  • 132 posts

Posted 20 March 2006 - 01:52 AM

G'day guys,

I am in a rock and a hard palce. I have finished making an online shop that integrates with a PC based physical shop program.

I am about to sell the shop and the exe file that rips the data from the PC's database.

The prob I have is when I sell the shop to someone they will be able to see all my PHP code, (they need the files)

I also want a yearly licence fee for the shop.

I need to sort it out so that

1) the shop will only work if the registration hasn't expired, (no idea at all how to do this yet)
2) They can't just steal my php code. I have though of maybe having the PHP SQL queries stored on my server and including code that pulls them as required from my server...any ideas?

...or not worth the bother? ...trust the honour system?


(both shop and application will be getting lots of updates all the time anyway)

- Humpty
  #> Where does the light go when it goes out?

#2 AV1611

AV1611
  • Members
  • PipPipPip
  • Advanced Member
  • 997 posts

Posted 20 March 2006 - 01:59 AM

I don't really know much about it, but I know that ZEND and some others have a way to "compile" your code just for that reason... Google on COMPILE PHP CODE

#3 sam2222

sam2222
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 20 March 2006 - 02:27 AM

I've been trying to pretect PHP files for a while and I couldn't afford ZEND but I found ioncube you don't have to buy the full thing you can but credits and encode your PHP files online so you don't have to spend $100s.

Then you can just right a PHP script to check there registration and encode it and nobody will be able to edit it. I wouldn't bother having the SQL querys on your server since if the script can get 'em then the user can.

#4 Humpty

Humpty
  • Members
  • PipPipPip
  • Advanced Member
  • 132 posts

Posted 20 March 2006 - 12:41 PM

Doubt I can afford ZEND nder any circumstances, ionCube is a far better price range but at this point in time is not an option. (Most likley if my product sells then yes I could buy it).

Any other options or suggestions?
- Humpty
  #> Where does the light go when it goes out?

#5 AV1611

AV1611
  • Members
  • PipPipPip
  • Advanced Member
  • 997 posts

Posted 20 March 2006 - 01:04 PM

Write REALLY BAD code, that is hard to follow... It's worked for me all this time LOLOL!


#6 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 20 March 2006 - 01:22 PM

Get yourself a good liscense.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users