y0 c0derz!
我的公式如下所示:
<form method="post" action="index.php?sida=upl" enctype="multipart/form-data" name="myform">
<input type="file" name="picture" id="picture" class="file_1" />
<input type="image" name="submit" style="margin-left: 120px;" src="uplbutt.png" />
</form>
公式的 PHP 代码如下所示:
if (array_key_exists('image', $_POST))
{
// do something here bla bla
}
但是当我单击图像提交按钮时,没有任何反应,因为它应该发生?有什么问题?