5416339 5416339 - 9 months ago 56
PHP Question

How to encrypt my HTML, PHP & JavaScript?

Guys/Gals I have made a website but now I want to encode the script so that no one can copy.

I'm using PHP, JavaScript and HTML in each page of my website. So how do I encrypt each and every page?

Thank You.

Answer Source

Neither html nor javascript can be encrypted, else the browsers would not be able to interprete it and your visitors would not be able to view your site. Dot. End. Compression tools may boost performance a little but will not really help against copyright infringement.

Your php-programs generate html, your visitors will always be able to see your html, but if your server is configured properly no one should ever see your php.