作者:mobiledu2502902537 | 来源:互联网 | 2018-04-22 04:53
管理程序chang.php源代码如下:<?session_start()?><?if($session_power""||$session_power<1){header("location:..message.php?redirectdefault.php&me
//管理程序chang.php源代码如下:
session_start() ?>
if($session_power==""||$session_power<1)
{
header("location: ../message.php?redirect=default.php&message=你不是理员");
break;
}?>
if($step=="1")
{
if(!($rs=MySQL_fetch_array(mysql_query("select * from download where id='".$id."'",$cn))))
echo "提取资料出错";
else
{
?>
}
}
if($step=="2")
{
mysql_query("update download set title='".$title."', say='".$say."',url='".$url."',size='".$size."',type='".$type."' where id=".$id,$cn);
header("location:download.php?action=show&type=$type");
}
?>