Home  >  Article  >  Backend Development  >  Script to establish file exchange function (2)_PHP tutorial

Script to establish file exchange function (2)_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 16:05:16853browse

//upload.php
这是上传文件的界面,用任何一个编辑器都可以作出来很好看的。需要注意的是表格中的
ENCTYPE="multipart/form-data"部分。这个一定不能错,否则服务器将不知道你在上传文件。
其他的就没有什么好说的啦,嘻嘻,大家可以作个更好的。



文件上传


















  
  
      
      
    
      
      
      
      
      
    
      
      
      
      
      
    
      
      
      
    
      
      
    
  
  
        
文件上传

      
  
        
选择上传文件

      
  
        
  
          
        

      
  
        
选择文件类型

      
  
        
  
          
        

      
  
        
上传者

      
  
        
  
          
        

      
  
        
上传日期

        

      
  
        ">
      
  
        

        

        

        
文件说明

      

        
      
  
        
  
          
        

      



 

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/315760.htmlTechArticle//upload.php 这是上传文件的界面,用任何一个编辑器都可以作出来很好看的。需要注意的是表格中的 ENCTYPE=multipart/form-data部分。这个一定不能...
Statement:
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