replace "<?" to "&lt;?"

解决方案 »

  1.   

    使用eWebEditor就不用过滤PHP代码了吗?如果replace "<?" to "&lt;?",那么还支持HTML吗?
      

  2.   

    如果replace "<?" to "&lt;?",那么还支持HTML吗
    -----------------------------------if you do nothing with the codes,the html tags in it will be available when you use innerHTML.
      

  3.   

    不好意思
    是我的知识太狭隘了
    原来通过客户端提交的PHP代码是不能执行的
    那么就没有必要去过滤PHP代码了
    只要保护数据库安全就行了