新网创想网站建设,新征程启航

为企业提供网站建设、域名注册、服务器等服务

简单的php文件上传系统

';
          echo 'File Type: '.$_FILES['userfile']['type'].'
'; echo 'File Size: '.$_FILES['userfile']['size'].'
'; echo 'Temporary Name: '.$_FILES['userfile']['tmp_name'].'
';*/ $tmpFile= $_FILES['userfile']['tmp_name']; $newFile=getcwd().'/'.$_FILES['userfile']['name']; if (move_uploaded_file($tmpFile, $newFile)) echo '

Your file is uploaded successfully.

'; else echo '

An error occurred while uploading.

'; }else echo 'An Error occuerd NO.: '.$_FILES['userfile']['error'].'
'; } ?>
Upload Your File:

File:


PHP Free Code

网页标题:简单的php文件上传系统
本文网址:http://wjwzjz.com/article/gsedsp.html
在线咨询
服务热线
服务热线:028-86922220
TOP