PHP code in HTML is commented and not parsed
大海龟
大海龟 2021-06-10 10:42:16
0
4
1141

My configuration is centos8, PHP 7.2.24, Apache/2.4.37 and mysql 5.7.32. After installing a series of plug-ins, I found that the php code embedded in the html code cannot be parsed and will be commented out. This should How to deal with it?

16CEA068-2782-414D-B583-5D28088498D8.png

大海龟
大海龟

reply all (2)
流年

One less code to end all PHP. Not just a conclusion per line, but also a summary

  • reply I used a script written by someone else. Others have built it, but I didn’t build it here.
    大海龟 author 2021-06-13 15:09:32
Peter_Zhu

What do you want to do? What plug-ins are installed? What is your file extension and is the environment normal?

  • reply I changed the suffix of the html code to .php and it can be decoded normally, but if the suffix is html, it cannot be decoded. There should be a problem with determining the file type, but I haven't found a good way to solve it yet.
    大海龟 author 2021-06-11 10:52:59
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!