Management Program for downloading a program (4 ). The source code of chang. php is as follows :? Session_start ()?? If ($ session_power | $ session_power1) {header (location:... message. php? Redirectdefault. phpquot;); break ;}?? Require // The source code of chang.php is as follows:
{
Header ("location:.../message. php? Redirect = default. php & message = you are not an administrator ");
Break;
}?>
If ($ step = "1 ")
{
If (! ($ Rs = mysql_fetch_array (mysql_query ("select * from download where id = '". $ id. "'", $ cn ))))
Echo "data extraction error ";
Else
{
?>
Modify materials
Your location: Homepage> Download base> modify materials |
}
}
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 ");
}
?>
Why :? Session_start ()? ? If ($ session_power = | $ session_power1) {header (location:.../message. php? Redirect = default. phpquot;); break ;}? ? Require...