Link to home
Start Free TrialLog in
Avatar of Starquest321
Starquest321

asked on

php protect work

I want to prevent others from copying my work. I have generated php file uploaded to my server and running my site. Now if someone goes into the web browser and does "view source" he can see my code. How can I prevent that?

I know that there is software called php codelock....but is that for the actual php files themselves? Any ideas?
Avatar of Dan Craciun
Dan Craciun
Flag of Romania image

You cannot see the php code with "view source". Only the generated output (usually HTML).

HTH,
Dan
Avatar of Starquest321
Starquest321

ASKER

OK - - - so if they don't have the original file my code is safe from external browser, right?
ASKER CERTIFIED SOLUTION
Avatar of Dan Craciun
Dan Craciun
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
If you wanted to be safe from prying eyes on the server, you could use IonCube or Zendloader to encrypt your PHP.  They are not free however and must be installed on the server.  You can't install them on shared hosting but some hosts do have those available.