How to secure the php code?

前端 未结 5 1633
臣服心动
臣服心动 2021-01-24 17:19

I created now a Javascript Code that get the php variable into javascript code, my issue that the php variable is important and I don\'t want any can see this variable is there

5条回答
  •  遥遥无期
    2021-01-24 17:54

    PHP files will be interpreted into static (like html or xml format) file, means that all variables will be replaced with certain values.What users see is static, no php code displayed but just interpreted text.

提交回复
热议问题