498 グナマーナ正大師 (sage) 2015/10/06(火) 21:44:30 ID:PiEYRSUY
array(6) { ["sqlerror"]=> string(227) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'A'='A' AND `siteid`='735' ) t1 LEFT JOIN `site` t2 ON t1' at line 10" ["sqlerrorno"]=> int(1064) ["sql"]=> string(274) "SELECT t1.`sessionid` AS `sessionid` FROM ( SELECT `siteid`, `sessionid` FROM `admin` WHERE `uid`=''' OR 'A'='A' AND `siteid`='735' ) t1 LEFT JOIN `site` t2 ON t1.`siteid`=t2.`siteid` WHERE t2.`active` = 1 " ["sqlid"]=> int(12803) ["id"]=> int(-12803) ["mes"]=> string(39) "クエリ実行に失敗しました。" }
('' OR 'A'='Aじゃ)いかんのか?