• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 337
  • Last Modified:

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?
0
Starquest321
Asked:
Starquest321
  • 2
1 Solution
 
Dan CraciunIT ConsultantCommented:
You cannot see the php code with "view source". Only the generated output (usually HTML).

HTH,
Dan
0
 
Starquest321Author Commented:
OK - - - so if they don't have the original file my code is safe from external browser, right?
0
 
Dan CraciunIT ConsultantCommented:
Yes, your web visitors cannot view your code.
0
 
Dave BaldwinFixer of ProblemsCommented:
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.
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now