LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 711|回复: 1

请各位大侠帮忙看看,我是菜鸟,望不吝赐教!

[复制链接]
发表于 2004-8-9 21:06:59 | 显示全部楼层 |阅读模式
请各位大侠帮忙看看:

程序一: index.php
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="rogId" content="FrontPage.Editor.Document">
<title>欢迎来到我的主页</title>
</head>

<body>

<p>欢迎到我的主页!!!</p>

<p> </p>

<form method="OST" action="disp.php">
   <p><input type="text" name="aaaa" size="20"><input type="submit" value="提交" name="B1"><input type="reset" value="全部重写" name="B2"></p>
</form>

</body>

</html>


程序二:disp.php
<?
echo $aaaa;
?>


我在 index.php 填了内容提交后, $aaaa显示不出来。

系统: win2000+apache1.3+php v4.3.8
也就是说变量无法传递,为什么?
发表于 2004-8-9 22:30:28 | 显示全部楼层
disp.php的内容:

<?=$_POST['aaaa']?>
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表