/    Sign up×
Community /Pin to ProfileBookmark

php code encryption..

hi guys,

i was wondering how to protect my php code,,is there any encryption method or any software to use..

is there any drawbacks of encrypting the code..

thanx alot..

Noor

to post a comment
PHP

17 Comments(s)

Copy linkTweet thisAlerts:
@fciApr 11.2006 — http://eaccelerator.net/ <-- the one you should look at

http://turck-mmcache.sourceforge.net/ <-- eaccelerator is based off this

http://www.ioncube.com/ <-- commerical

http://www.zend.com/products/zend_guard <-- commercial
Copy linkTweet thisAlerts:
@bokehApr 11.2006 — Yes but... why do you want to hide it? Is your coding so terrible that you want to be certain no one will see it?
Copy linkTweet thisAlerts:
@fciApr 11.2006 — Yes but... why do you want to hide it? Is your coding so terrible that you want to be certain no one will see it?[/QUOTE]

LOL
Copy linkTweet thisAlerts:
@nooor83authorApr 11.2006 — Yes but... why do you want to hide it? Is your coding so terrible that you want to be certain no one will see it?[/QUOTE]

read this page and you wil know why i need it ??

http://www.zend.com/products/zend_guard
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYApr 11.2006 — sell more ?!
Copy linkTweet thisAlerts:
@bokehApr 12.2006 — read this page and you wil know why i need it ??[/QUOTE]Or are you trying to hide all the excellent code you have downloaded from WebDeveloper?

By the way are you saying your code is good enough to sell?

Joking aside, there is no way I would run a piece of PHP code on my server if I couldn't read it first.
Copy linkTweet thisAlerts:
@nooor83authorApr 12.2006 — nowway..im not hiding the code im taking from here..if i want to the code,,i have to hide all my posts..what do u think..

and another point..what i have noticed in this forum or anyother forum is that the answer to all the posts would be 90% guide lines not CODE..

i'll put in the sitiuation..

what if you are selling a product to a customer..especially a php product..what esures that he wouldn't distributed right away,,,or give it to a friend of his...

that's the only reason i was asking about the php encryption..

if you have better idea than the evil (code encryption) then please let me know..

thanx anyway..

Noor
Copy linkTweet thisAlerts:
@bokehApr 12.2006 — what if you are selling a product to a customer[/QUOTE]I've never liked [I]what if[/I] questions! The possiblities are endless. Personally I believe in open source.i have noticed in this forum or anyother forum is that the answer to all the posts would be 90% guide lines not CODE..[/QUOTE]Not when I answer.what esures that he wouldn't distributed right away,,,or give it to a friend of his...
[/QUOTE]
Nothing! But encrypting your code certainly would not protect against this. It is called software piracy and occures even more frequently with compiled code which is completely unreadable.
Copy linkTweet thisAlerts:
@nooor83authorApr 12.2006 — it would matter alot to you if the package your company is selling is costing that MUCH of money..

your posts i agree..it's full of code..

thanx bokeh for the advice anyway.. ?
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYApr 12.2006 — 
what if you are selling a product to a customer..especially a php product..what esures that he wouldn't distributed right away,,,or give it to a friend of his...

that's the only reason i was asking about the php encryption..

if you have better idea than the evil (code encryption) then please let me know..

thanx anyway..

Noor[/QUOTE]

Well, that's the risk of using interpreted technologies..

Anyway, there are very slim chances that your clients friend would buy your software anyway

if your code is encoded, it can be decoded

why does everyone want to encode everything lately ?! (talking about PHP)

I don't think that commercial software such as vB are encoded, are they?
Copy linkTweet thisAlerts:
@bokehApr 12.2006 — Well, that's the risk of using interpreted technologies.[/QUOTE]CDs and DVDs are not written in ASCII code yet they are the most pirated technologies of all. Being a [I]non-interpreted[/I] (i.e. compiled) technology does not protect the software from piracy.
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYApr 12.2006 — CDs and DVDs are not written in ASCII code yet they are the most pirated technologies of all. Being a [I]non-interpreted[/I] (i.e. compiled) technology does not protect the software from piracy.[/QUOTE]
i didnt say that compiled things were safer, although it is harder to copy, it usually more interesting i guess.
Copy linkTweet thisAlerts:
@nooor83authorApr 12.2006 — it canbe decoded back ?? try decoding the www.jpowered.com 3d graphs and send it to me please..lol

the make you download the php file and you get choked whn you look at the code..

take alook at the site...
Copy linkTweet thisAlerts:
@bokehApr 12.2006 — it canbe decoded back ?? try decoding the www.jpowered.com 3d graphs and send it to me please..lol

the make you download the php file and you get choked whn you look at the code..

take alook at the site...[/QUOTE]
So what! It doesn't stop you giving the code to your friend does it. The only reason I can think of for doing this is that the code is either badly written, contains spyware or is stolen.
Copy linkTweet thisAlerts:
@LiLcRaZyFuZzYApr 12.2006 — if you want parts of your software to be kept secret and not modified you might want to buy/rent a server with high reliability and place the files on it and then in the code require them from that server

This will probably cost you much more then a client giving it to a friend
Copy linkTweet thisAlerts:
@felgallApr 12.2006 — Encrypting your code wouldn't stop those people who buy it from you from giving copies to their friends. What it would do would be to make it much more difficult for them to make changes to the code which would mean that proving that a stolen copy of your code is actually your code would be easier.
Copy linkTweet thisAlerts:
@acemoApr 13.2006 — Encrypting your code wouldn't stop those people who buy it from you from giving copies to their friends. What it would do would be to make it much more difficult for them to make changes to the code which would mean that proving that a stolen copy of your code is actually your code would be easier.[/QUOTE]

Yea, make the code so badly written that nobody can figure out how it works.

Like my first few scripts =)


I think the best way to protect youre code would be with copyright.

Like alot above here have already said, there is no way you can make sure people wont give away youre code.

But with copyright atleast u can sui them when they do ?
×

Success!

Help @nooor83 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...