我正在尝试使用仅包含单个字段的php将表单提交到服务器。这是我的HTML代码: -
<form action="add_thumbnail.php" method="post" enctype="multipart/form-data">
<div id="add_info">
<center><h3>Add Thumbnainls</h3><div></center>
<center class="msg"><?php echo $_REQUEST['msg']; ?></center>
<span class="label_msg">e.g. 28 cm (H) x 56 cm (W) x 28 cm (D) OR 60 cm (H) x 30 cm (diameter)</span>
<div class="clearboth"></div>
<div class="title">Dimensions : </div>
<div class="title_info"><input type="text" name="dimensions_cm" value="<?php echo $fetch['dimensions_cm'];?>" placeholder="cm"/></div>
<div class="clear"></div>
<span class="label_msg">11 in (H) x 22 in (W) x 11 in (D) OR 24 in (H) x 12 in (diameter)</span>
<input type="submit" name="submit" value="Submit"/></div>
<div class="clear"></div>
</div>
</form>
它工作正常并将值提交给服务器但是当我将11 in (H) x 22 in (W) x 11 in (D)
值放入文本框时我得到You don't have permission to access add_thumbnail.php on this server.
我做错了请帮我解决这个问题。
提前谢谢。