不知道错哪了,快崩溃了
程序员文章站
2022-05-24 14:18:38
...
不知道哪里错了,快崩溃了
$data1=stripslashes($data1);
$aar=strncasecmp($data1,"select",6);
$arr1=strncasecmp($data1,"insert",6);
if((arr!=0)&&(arr1!=0))
{
echo "$arr";
echo "
";
echo "
";
echo "$data1";
echo "$arr1";
echo "
";
exit( "false to run sqlcript");
}
------解决方案--------------------
if(($aar!=0)&&($arr1!=0))
{
echo $aar;
名字你看叉了
$data1=stripslashes($data1);
$aar=strncasecmp($data1,"select",6);
$arr1=strncasecmp($data1,"insert",6);
if((arr!=0)&&(arr1!=0))
{
echo "$arr";
echo "
";
echo "
";
echo "$data1";
echo "$arr1";
echo "
";
exit( "false to run sqlcript");
}
------解决方案--------------------
if(($aar!=0)&&($arr1!=0))
{
echo $aar;
名字你看叉了
相关文章
相关视频
上一篇: php使用反射插入对象示例分享_PHP