从php 文件1中,读取输入的字符,传入到php文件2中,并输出 如题 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=GB2312">password.php<title>无标题文件</title></head><body><form name="form1" method="get" action="getpasw.php">会员账号<input name="access" type="text" size="13" maxlength="12"><br>会员密码<input name="pasw" type="password" size="13" maxlength="12"><br><input type="submit" name="Submit" value="发送"></form></body></html>getpasw.php<?echo "您所输入的账号为:<br>";echo $access;echo "<br>";echo "您所输入的密码为:<br>";echo $pasw;?> 如果是用$_post,$_get;可以接收么? getpasw.php <?php echo "您所输入的账号为: <br>"; echo($_POST['access']); echo " <br>"; echo "您所输入的密码为: <br>"; echo($_POST['pasw']);?>如何要用$_GET的话就把$_POST替换为$_GET并且把password.php的action设置为get方法 求助,编写人人公共主页定时自动发送状态网页 【醒目】在部署应用前,需要对服务器环境做漏洞扫描? PHP中SQL语句中的字符串两端为什么要加单引号? php urlencode()有问题 求大神指点一二 小女子的小问题,大家帮我一下吧!谢谢! 初学函数的困惑 很简单的问题,请关注一下! 突发奇想 写了个类似.net中的DataGrid(还很不完善) 上传图片的困惑 php数组存储大数据的问题 传值得到后分页问题
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB2312">
password.php<title>无标题文件</title>
</head><body>
<form name="form1" method="get" action="getpasw.php">会员账号
<input name="access" type="text" size="13" maxlength="12"><br>会员密码
<input name="pasw" type="password" size="13" maxlength="12"><br>
<input type="submit" name="Submit" value="发送">
</form>
</body>
</html>getpasw.php
<?
echo "您所输入的账号为:<br>";
echo $access;
echo "<br>";
echo "您所输入的密码为:<br>";
echo $pasw;
?>
<?php
echo "您所输入的账号为: <br>";
echo($_POST['access']);
echo " <br>";
echo "您所输入的密码为: <br>";
echo($_POST['pasw']);
?>如何要用$_GET的话就把$_POST替换为$_GET并且把password.php的action设置为get方法