<form enctype="multipart/form-data" method="post" action="" onSubmit="test(this)">
<input type=hidden name=path>
<input type="file" name="picture">
<input type="submit" name="Submit" value="Submit">
</form>
<script>
function test(form) {
form.path.value = form.picture.value;
}
</script>$_POST['path']即是
<input type=hidden name=path>
<input type="file" name="picture">
<input type="submit" name="Submit" value="Submit">
</form>
<script>
function test(form) {
form.path.value = form.picture.value;
}
</script>$_POST['path']即是
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货