Webã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãå¤é¨ããã®å¤æ°ã«å¯¾ãã¦ãå½¢å¼ãã§ãã¯ï¼Validationï¼ãè¡ãªãã¾ããPHPã§ãããè¡ãªãå ´åã«ããããã¡ãªãã¹ãããã¤ãæãã¦ã¿ã¾ããã ãã®æ¥è¨ã¯ãããããã®æ¥è¨ã«è§¦çºããã¦æ¸ãããã®ã§ãããã¤ãã®ä¾ãå¼ç¨ãã¦ãã¾ãã ããã®å¥å¿é²(2006/11/08) - ç´ æ´ãããèªåçãªä¸çãæãã¯ãåã®ãªããä¸çã åã®åé¡ æ°å¤ã¨æååã®æ¯è¼ <?php $input = "2'; DELETE FROM hoge; --"; if ($input == 2) { // âTRUEã¨è©ä¾¡ããã ããããã®æ¥è¨ã§ç´¹ä»ããã¦ããä¾ã«ãæãå ãããã®ã§ãã ifæä¸ã®å¼ãTRUEã«ãªãã®ã¯ãPHPã®ã==ãæ¼ç®åããæ°å¤åã¨æåååå¤æ°ãæ¯è¼ããéã«ãæååãï¼ããªãå¼·å¼ãªããæ¹ã§ï¼æ°å¤åã«å¤æããããã§ããå¤æ°ã®æ¯è¼ã¯ãåãåå士ã§è¡ãªãã®ãç¡é£ã ã¨æãã¾ãã
{{#tags}}- {{label}}
{{/tags}}