(Last Updated On: 2018å¹´8æ13æ¥)追è¨ï¼PHPã¨ã¹ã±ã¼ãé¢é£ã®æ¤ç´¢ã§ãã®ã¨ã³ããªãåç §ãããã¨æãã¾ããPHPã§ã®ã¨ã¹ã±ã¼ãå ¨è¬ã«ã¤ãã¦ã¯ä»¥ä¸ã®ã¨ã³ããªãåç §ãã¦ãã ããã PHPæååã®ã¨ã¹ã±ã¼ã ã»ãã¥ãªãã£memoã«addslashesããã¨ã¹ã±ã¼ãå¦çã§SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ãå¯è½ãªãã¨ããè¨äºãè¦ã¤ãã¾ããã ç§ã®ã»ããã¼ãèãããã¨ãããæ¹ã¯ãaddslashesã«ããã¨ã¹ã±ã¼ãå¦çã¯æ¢ãã¾ããããã¨è¨ã£ã¦ããäºãè¦ãã¦ããã§ãããã? mysql_real_escape_string()ãpg_escape_string()çã®ãã¼ã¿ãã¼ã¹å°ç¨ã®ã¨ã¹ã±ã¼ãé¢æ°ã使ãã¾ããããã¨ã話ãã¦ãã¾ãã ã¡ãªã¿ã«SQLiteã使ã£ã¦ããå ´åã¯addslashesã§ã¨ã¹ã±ã¼ãå¦çã¯NGã§ãããã£ã¨æ ¹æ¬çã«ééã£ã¦ãã¾ããSQLiteã§ã¯MS SQL Server,
{{#tags}}- {{label}}
{{/tags}}