copy("$picurl","/where/you/want/put/the/uploaded/files/in/$picurl_name");
exit;
}
?>
<form action="." method="post" enctype="multipart/form-data" name="UL">
<!--注意:这里必须加上‘enctype="multipart/form-data" ',否则不会产生上
传动作-->
<input type="file" name="picurl" size="15"
accept="image/x-png,image/gif,image/jpeg">
<input type="submit" name="upload" value="上传">
</form>