1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

PHP.ini请教贴

本帖由 Kevin2007-06-30 发布。版面名称:网站运营

  1. Kevin

    Kevin New Member

    注册:
    2005-10-23
    帖子:
    12,728
    赞:
    55
    magic_quotes_gpc
    这个设为on好还是off好呢?
    设为on会不会引发很多程序使用问题?
     
  2. Kevin

    Kevin New Member

    注册:
    2005-10-23
    帖子:
    12,728
    赞:
    55
    magic_quotes_runtime
    另外这个,需不需要开啊,一般来说!
     
  3. wm_chief

    wm_chief New Member

    注册:
    2005-09-05
    帖子:
    17,890
    赞:
    46
    为了安全最好设为on
    至于下面那个选项一般不关注
     
  4. 平平

    平平 New Member

    注册:
    2006-11-23
    帖子:
    640
    赞:
    0
    都设置为on 也可 一个是从客户端读取数据的时候魔法转义 一个是从程序读取数据时候的 第二个很少用到

    一般写程序的时候都会加个判断 当没有打开的时候 则直接用addslashes函数
     
  5. Kevin

    Kevin New Member

    注册:
    2005-10-23
    帖子:
    12,728
    赞:
    55
    好,我试试,非常感谢!