ãããã¤ã³ã¹ãã¼ã«ä»£è¡¨ã®ã©ã¤ãããã¯ããã°
SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã«ã¤ã㦠ãã¿å ï¼$_GETãå®æã«åãå ¥ãã¡ããã¡ï¼ åã«æ¸ããã¨ã³ããªã¼(re:ãã±ã³ãªSQLã¤ã³ã¸ã§ã¯ã·ã§ã³)ã誤解ãä¸ãã¦ãã¾ã£ãããã§ãã®ã§ãããå°ãè£è¶³ãã¦ããã¾ãã ã¾ããçµè«ããæ¸ãã¨ã mysql_queryã®å ´åã¯ãã§ãã¯ãè¦ããªãã£ã¦è¨ã£ã¦ãããã§ã¯ãªãã§ãã ããã¦ã mysql_real_escape_stringãéä¿¡ãã¦ã¯ããã¾ãã æ§ã ãªSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ è¤åã¯ã¨ãª $sql="select * from geekDB where id = " . $_GET['id']; $result = pg_query($sql); ããã¯$_GET['id']ã®å¤ã以ä¸ã®ãããªå ´ååé¡ãçºçãã¾ãã '';DELETE FROM geekDB; ãã¼ãã«ã丸ãã¨æ¶ããã¨ãå¯è½ã§ãã ååã®ã¨ã³ããªã¼(re:ãã±ã³ãªSQLã¤ã³ã¸ã§ã¯ã·ã§ã³
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}