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?
PHPJavaScriptHTML
Last Comment
Dave Baldwin
8/22/2022 - Mon
Dan Craciun
You cannot see the php code with "view source". Only the generated output (usually HTML).
HTH,
Dan
Starquest321
ASKER
OK - - - so if they don't have the original file my code is safe from external browser, right?
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.
HTH,
Dan