Frequently Asked Questions

Home/Frequently Asked Questions

We believe that your source code is your property and you must protect it before giving to others. This way, unauthorized users cannot make changes to your code.

Also if you want to give your customers a script for testing purpose, they should be able to test it and not make any changes to it.

And also for protecting your source code from others so that they cannot find security holes in your code.

PHP developers have always been reluctant in distributing their developments. SourceCop for PHP is a Windows based application, developed to encrypt your PHP code so that you can distribute it, without any fear.

Don’t let any encoding company lie to you.  There is no TRUE 100% way to protect your code from being decrypted.
In fact, even the more expensive products that require you to change your PHP environment and install their loaders, they can be
decrypted (Google for them and check!).  Here’s a nice article discussing that.
There’s no 100% true way to protect your code, but SourceCop can stop and mitigate the obvious means of theft and copying of your PHP code.
SourceCop is powerful because it requires NO libraries or changes to your PHP environment.  You only need to deploy the PHP you’ve encoded.
SourceCop will stop most of the people who are casually stealing your code, but it will not stop someone who is trying to steal your code and has
the means and understanding of how to do so.
And its important to remember that NO tool on the market can stop people from decrypting your PHP code.
 

SourceCop for PHP is a Windows based application and runs on Windows 98 SE/2k/NT/XP and ME. It reads specified files placed in your computer and encrypts a major portion of it, making it almost impossible for a human eye to understand it.

Encrypted files work on any version of PHP on any platform.

No. If you have a full version, you have no limit. If you are using trial version, you can use it for 7 days and maximum of 50 kb project size.

No. PHP installation is not required to encrypt the files, but yes, you do need PHP installed to run the encrypted files.

Yes. You can encode multiple folders or nested folder, whatever you want.

Please bear in mind that no code can be 100% secure and 100% uncrackable. Think of it this way. You know that doors of your house can be broken, but even then you lock them before sleeping or leaving the house. This is because you want to add a hurdle in the way of intruders and many intruders just do not attempt to enter the houses with locked doors.

Same is the case here. By encrypting your code, you are placing a hurdle and making it almost impossible for a human mind to understand.

There will be people around us who can do the decryption, but still, it will take a huge amount of time to do this and people with bad intension most of the times will prefer to break into the code that is not encrypted than encrypted.

You can use the trial version for 7 consecutive days and the maximum size for each project should not be more that 50 Kb.

Click on the Purchase button in your SourceCop application and follow the instructions.

a) Unlocking process is very easy. Click on the REGISTER button in your copy of SourceCop and copy the installation key.

b) On our site, we have a link named Get Rigistration Key. Click on this link and follow the instructions.

c) In case your copy has already expired, you will need to type your installation id on the page mentioned in step b above.

Yes, in some cases it will, but most of the times it is so little that it simply is not noticed.

This is a folder that you must upload to the web server. Without this folder, your encrypted PHP scripts will not run. You must also set 777 permissions to this folder on Unix, Linux and BSD system or Read/Write/Execute permissions on Windows machines.

No. SourceCop for PHP does not require any changes to php.ini files or loadable modules.

If your actual code works with globals off, then the encrypted code will also work with globals off.

The simple formula is that that the encrypted script should work on the platform and configuration where the un-encrypted script worked.

You must uninstall SourceCop version 1.0 before installing version 2.0. To uninstall, please goto to your Windows’ control panel, click on the Add/Remove programs icon and follow the instructions.

No! If you have purchased any earlier version, you do not need to purchase the new version. Just uninstall the earlier version and install the later version. Get your registration key again using the same email address.

It is the IP address of the hosting server. You can restrict to a domain, but for this you will have to write a php code, include it in your php script and encrypt the code.

There are several styles in which people code, and there is a little possibility that SourceCop might not be able to recognize some coding styles. We request you to please try SourceCop before you buy and see if it works on your coding style. This will make things easier for you, as once you have purchased SourceCop, our understanding will be that you have tested it and it works well on your coding style.

Unfortunately there is no such feature in the software, but you surely can do this by writing a conditional line in your php script that states the expiry date. For instance: if(date(“Y-m-d”)<=”2005-07-10″)){ echo “This script will expire on July 10, 2005,”; }else[ echo “This script of software has expired.}

Please make sure the source folder and back folders are different.

Please make sure that you are not encrypting the already encrypted files. 2. Also, please make sure that the application is not clashing with any other application, installed after sourcecop.

SourceCop is one-way encryption. The software does not allow decryption.

It will depend on the coding style and the length of the code. If there are nested includes and extremely large files, it will affect the performance.

To have a customized message, you need to write the code expiry script yourself (see below). Then encrypt the code and distribute it.
if($todays_date>exipry_date){
echo(“Your customized expiry message here…”);
exit();
}
//$todays_date and expiry_date will need to have today’s date and expiry date.
Since the code will be encrypted, no one will be able to read it.

The specialty of our software is that you do not need to install anything on the web server or make changes to its configuration. This is also our products edge over our competitors. We have to do a very complex encryption in our script and unfortunately this sometimes slows the script, depending on the coding style. In other words, it is just like opening a locked door; it takes a little longer than opening an unlocked door.
RESPONSE: Okay, I understand the reason for the slow down 😉 Your software is one of the best I’ve found 🙂 Keep up the good work! 😉

As far as I know, you can distribute a free application without worrying about the license of MySQL. But if you are selling a commercial application, you need to buy a MySQL license. But my suggestion is that you better contact MySQL directly on this issue as we are not MySQL and licenses can sometimes be tricky.

In SourceCop, there is an option to exclude files that you do not want to encrypt. The textbox that says “do not encrypt these files” does it.

The encryption is none of these. It is our own encryption algorithm.

We have not tested with Smarty, but there should not be any issue as far as we can see. With regards to Apache and MySQL, one is a web server and the other is a database server, so both of these have nothing to do with PHP coding directly. Hence, our encrypted PHP scripts run perfectly fine on Apache or IIS or any other web servers that allow you to run PHP.

The encrypted file will not be renamed to anything else. It is just that all your files will be encrypted with the same name and a folder called scopbin will be created additionally and will be required to run your encrypted files.

In fact the page is not editable, but there is a very easy solution to it. Just write a PHP code at the top of your PHP files or an include file and write something like this in it:
if(date(“Y-m-d”)>=”2005-11-11″){
header(“Location: error.php”);
exit();
} Now encrypt your code and distribute it. Since the code is encrypted, no one will know it.

We are not encrypting the HTML source code, but PHP code. Let me try to explain how simple PHP works. When you write a PHP code and execute it from the server, the PHP engine parses the PHP code and only shows the executed code in browser. For instance, if your PHP code is as below:
< ?
echo “I love PHP”;
? >
Then what you will see in browser if you take the source code is: “I love PHP” and not the entire code. So in case of PHP encryption, the code is encrypted so that you can distribute it to others without fear of the code being stolen. To sum it up, it is not an HTML encryption, it is PHP source encryption.

SourceCop is only one-way encryption, not two way. This means you can only encrypt not decrypt. This is one-way encryption because otherwise anyone will be able to decode anyone else’s code.

In case you lose your original files, we do provide you a service at a cost to decrypt your files. In this case you will have to give us, in writing, that the script you want to decode is your own. The fee is quite expensive, and the reason for this is that it deters just anybody from decrypting SourceCop encrypted files. However, if you’re willing to pay the fee and provide proof of ownership of the code, we will provide this service.

SourceCop is software to encrypt PHP files. You can have one license to encrypt millions of files to be deployed on millions of servers. But one license is required per installation, not per server on which it is to be deployed.

The answer to this question is that that this is possible but not with SourceCop, but with your PHP code. Just include a file in your PHP code which expires the code in 7 days. Once you include it in your code, just encrypt the code and distribute it. Since the code will be encrypted, no one will be able to tamper with it.

Fortunately your customers will not need this file as they will just be viewing your web site, parsed through your server, which already is using scopbin. But if you want to sell your entire php script to someone, then yes, just give him/her the same scopbin folder with all other folders and files.

Don’t see your question here? Send us an email.

No question goes unanswered!

Contact Sourcecop