表单页:
<form action="post.php" method="post">
<input type="text" name="name">
<input type="submit" name="submit" value="submit">
</form>
文件post: <?php
echo "hello,$name";
?> 两个文件就这么几行代码!!
运行的时候提示保存文件而没有显示post的内容!!
我从PHP官方网上下的简单示例也存在类似问题!!
说明:通过PHP可以正常操纵数据库。一般的PHP页面也可以正常显示!!!
高手帮忙指点一下
<form action="post.php" method="post">
<input type="text" name="name">
<input type="submit" name="submit" value="submit">
</form>
文件post: <?php
echo "hello,$name";
?> 两个文件就这么几行代码!!
运行的时候提示保存文件而没有显示post的内容!!
我从PHP官方网上下的简单示例也存在类似问题!!
说明:通过PHP可以正常操纵数据库。一般的PHP页面也可以正常显示!!!
高手帮忙指点一下
或
register_globals=on