为什么我的表单值PHP读不出来?(急)
.html:
<form method="POST" enctype="text/plain" action="test.php" name="form">
<input type='checkbox' name='index[]' value=1>1</td>
<input type='checkbox' name='index[]' value=2>2</td>
<input type='checkbox' name='index[]' value=3>3</td>
<input type='checkbox' name='index[]' value=4>4</td>
<input type='checkbox' name='index[]' value=5>5</td>
</form>
.php:
$index=$HTTP_POST_VARS['index']; 到这里就有问题了
系统提示:
Notice: Undefined index: index in c:\inetpub\wwwroot\test.php
请问这是怎么回事?以前都工作,最近突然就出了问题,一直找不到原因!