Home > Backend Development > PHP Tutorial > A program download management program (4)_PHP tutorial

A program download management program (4)_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-21 16:05:43
Original
903 people have browsed it

//The management program chang.php source code 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 "提取资料出错";
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");
}
?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/315562.htmlTechArticle//管理程序chang.php源代码如下: ? session_start() ? ? if($session_power==||$session_power1) { header(location: ../message.php?redirect=default.phpquot;); break; }? ?require...
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Why does it still jump after returning false?
From 1970-01-01 08:00:00
0
0
0
Optimize table indexes in MySQL
From 1970-01-01 08:00:00
0
0
0
Why can't I install it?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template