刚配的lamp
ubuntu9.10 php5 apache2.2-14/var/www下有两个文件
123.php
<?php
print_r($_GET);
?>
123.html
<form action = "123.php" method = "get">
<p>用户名:<input type = "text" name = "usrname"/></p>
<p>密  码:<input type = "password" name = "pass"/></p>
<input type="submit" value = "提交"/>
</form>
问题1:
双击直接打开html文件后firefox显示正常
但是按提交后不能显示正常页面 会弹一个123.php下载文件的窗口
问题2
用http://localhost/123.html打开
会自动填上root的帐号密码 jiong。。
按提交后 URL变了 但是页面显示一点变化也没有
我现在想的就是点了提交后应该显示一个Array到窗口
该怎么弄呢? 我估计是我配置错了。。