我有一个上传文件的表单,我需要获取文件的客户端路径吗?
我可以从 php 数组 $_FILES 获得的服务器路径
$_FILES["UploadFileName"]["tmp_name"]
如何获取存储在客户端计算机上的文件的客户端路径?
<form method="POST" action="upload.php" enctype="multipart/form-data">
<p>File to upload : <input type ="file" name = "UploadFileName"></p><br />
<input type = "submit" name = "Submit" value = "Press THIS to upload">
</form>