hi all,
I want to know how to encrypt the code in PHP.
and what are all the tools (free) available and which is the best one to use.
Will web server will be able to run the encrypted code?
Thanks,
sam
How to encrypt the code in PHP
Moderator: General Moderators
-
syamswaroop
- Forum Newbie
- Posts: 19
- Joined: Fri May 01, 2009 1:31 am
Re: How to encrypt the code in PHP
md5("your password")
is that mean?
is that mean?
-
syamswaroop
- Forum Newbie
- Posts: 19
- Joined: Fri May 01, 2009 1:31 am
Re: How to encrypt the code in PHP
what i want is to encrypt the whole file so that others will not use it?
Re: How to encrypt the code in PHP
for example:
crypt
$str ="this is my name";
$temp=crypt($str);
echo $temp;
crypt
$str ="this is my name";
$temp=crypt($str);
echo $temp;
Re: How to encrypt the code in PHP
Encrypted PHP code cannot be executed by the server. In addition, there is no need to encrypt your PHP code, as the code itself is never shown to your website's users. The only thing that they will see is the HTML that is output to their browser.
If you want to encrypt the PHP files for offline storage, you may want to look into a program like TrueCrypt.
If you want to encrypt the PHP files for offline storage, you may want to look into a program like TrueCrypt.