how to prevent database to add slash to quotes

前端 未结 5 2027
时光取名叫无心
时光取名叫无心 2020-12-30 12:56

i know this sounds really common and so trivial but , am having a challenge here. I have a web site with Zend/Doctrine and i use ckeditor for the backend management. after

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-30 13:13

    In case this is a magic quotes problem and as i recall you only having access to your application.ini, you might add the following and give it a try

    phpSettings.magic_quotes_gpc = 0
    phpSettings.magic_quotes_runtime = 0
    

    This still requires your user / usergroup to be allowed to change default php settings ;)

提交回复
热议问题