如何从此网站表单传递文件(argv1)和子文件(argv2)参数:
<h2>This form allows you to upload a Video.</h2>
<form action="uploadapi.php" method="post" enctype="multipart/form-data">
<br>
<p>
Video Name:
<input type="text" name="titel" size="50" />
</p>
<p>
Video Description:
<br/>
<textarea name="text" rows="5" cols="50"></textarea>
</p>
<p>
Select File, allowed: .mpg
</br>
<input type="file" name="file">
</p>
<p>
Select File, allowed: .src
</br>
<input type="file" name="subfile">
</p>
<p>
<input type="submit" value="Upload">
</p>
</form>
到我需要的uploadapi.php脚本:$ file = $ argv [1]和$ file = $ argv [2]。这个uploadapi.php脚本也需要通过exec执行。