Solved

php protect work

Posted on 2013-11-13
4
312 Views
Last Modified: 2013-11-13
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
Comment
Question by:Starquest321
  • 2
4 Comments
 
LVL 34

Expert Comment

by:Dan Craciun
ID: 39646148
You cannot see the php code with "view source". Only the generated output (usually HTML).

HTH,
Dan
0
 

Author Comment

by:Starquest321
ID: 39646159
OK - - - so if they don't have the original file my code is safe from external browser, right?
0
 
LVL 34

Accepted Solution

by:
Dan Craciun earned 500 total points
ID: 39646172
Yes, your web visitors cannot view your code.
0
 
LVL 82

Expert Comment

by:Dave Baldwin
ID: 39646327
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now