<?php

//载入全局配置和函数包
require_once(dirname(__FILE__)."/../../include/global.php");

require 'upload.inc.php';

//print_r($_FILES);
$upfos = new sa_upload('Filedata','files'); //实例化类
$upfos->upload($_POST['fileName']);//上传
echo $upfos->filePath();
?>