Connecting Tech Pros Worldwide Forums | Help | Site Map

how to protect php code?

Newbie
 
Join Date: Sep 2007
Posts: 7
#1: Sep 24 '07
I'm a newbie of php: how to protect php code? I mean the php code is on the server, is it easy for others to get the source code from server? is it possible to encode the source code?


thanks

bear

ak1dnar's Avatar
Moderator
 
Join Date: Jan 2007
Location: Colombo
Posts: 1,440
#2: Sep 24 '07

re: how to protect php code?


Php Scripts will executes on the server side and only the generated HTML outputs will display on the client side. So web client won't be able to see your codings.BUT, the if you have hosted your scripts on a hosting server on a third party hosting service provider, those peoples can see your server scripts. If it is a problem and if you need to to prevent of it, there are some tools to encode your Php scripts. Google for it and then you can find. I don't like to recommend any of them here, you know most of them are commercial apps.
pbmods's Avatar
Site Moderator
 
Join Date: Apr 2007
Location: Texas
Posts: 5,435
#3: Sep 24 '07

re: how to protect php code?


Heya, Bear.

The two most popular obfuscation utilities are:
Zend Guard
ionCube
volectricity's Avatar
Expert
 
Join Date: Jun 2007
Location: Baltimore
Posts: 587
#4: Sep 24 '07

re: how to protect php code?


Quote:

Originally Posted by flyingbear

is it easy for others to get the source code from server? is it possible to encode the source code?

Easy? Not if they don't have access to your server.
Reply