<?php
$llym = $_SERVER["HTTP_REFERER"];

error_reporting(E_ALL & ~ E_NOTICE);
if(is_uploaded_file($_FILES['upfile']['tmp_name'])){
	$upfile=$_FILES["upfile"];
	$name=$upfile["name"];
	$type=$upfile["type"];
	$size=$upfile["size"];
	$tmp_name=$upfile["tmp_name"];
	$error=$upfile["error"];
 }
if($error=='0'){
	move_uploaded_file($tmp_name,'../webfl/'.$name);
echo "<script>alert('ÉÏ´«³É¹¦');</script>";
?>
<script language="javascript">setTimeout(function (){location.href='<?php echo $llym; ?>';},2);</script>
<?
}
?>


