954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

hide my code from others

hi i want to hide my php code. i don't want any other to view my code and copy it. So is there a way to do this?

Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

PHP is server side code. It's hidden by default.

MagicMedia
Junior Poster
149 posts since Jul 2010
Reputation Points: 20
Solved Threads: 35
 

not that. i mean some one who opens up my .php files from server... or program i'm giving them . some kind of encryption method or something?

Virangya
Junior Poster
122 posts since Apr 2010
Reputation Points: 10
Solved Threads: 0
 

After a quick Google search:

http://www.ioncube.com/sa_encoder.php
http://www.codelock.co.nz/
http://www.zend.com/en/products/guard/
http://www.sourcecop.com/index.php

Haven't tried these myself though so I can't vouch for any of them. They all cost money but offer a free trial.

MagicMedia
Junior Poster
149 posts since Jul 2010
Reputation Points: 20
Solved Threads: 35
 

There are others like Zend and Source Guardian but this one is at least as good as the other options. They also offer an online service which is pay-as-you-go so you don't have to buy the software up-front. The free options (and some of the commercial ones) are obfusticators and they can be broken quite easily. Ioncube, Zend and Source Guardian all produce 'byte code' which isn't quite compiled but it is an intermediate step beyond the original source code. If you are thinking of selling a PHP product, then you also have to use some sort of license software (Ioncube also has one of those). Otherwise, people can redistribute your 'byte code' version and you won't have any control over them.

http://www.ioncube.com/

chrishea
Nearly a Posting Virtuoso
1,428 posts since Sep 2008
Reputation Points: 210
Solved Threads: 230
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: