0

I want to create function to encrypt my code source when user execute my script using php

i want to create a a function or script can automatically encrypted the source code html + css + js + php ?

18th Apr 2017, 10:18 PM
aladdin xclay
3 Answers
+ 2
You can not encrypt page code because browsers will be unable to read it. Instead you can try to obfuscate (make it hardly readable by human) page code instead. Change name of variables for random generated ones, mess up with code structure without changing functionality, etc. Not a very effective measure in web programming anyway. Modern IDEs can easily handle it.
18th Apr 2017, 11:46 PM
Jeth
Jeth - avatar
0
no it can brother i sow a script has this function
19th Apr 2017, 12:02 AM
aladdin xclay
0
whit Java Script you can but it will effect page render and badly...
19th Apr 2017, 12:13 AM
Mustafa Kenliç
Mustafa Kenliç - avatar