post时出问题? 我想应该是你APACHE的配置问题。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我采用的是模块安装PHP,如果是APACHE的问题一般会和哪部分有关呢? 我查看了apache的error_log提示如下:[notice]Apache/1.3.27(Unix) PHP/4.3.0 configured -- resuming normal operations[notice]Accept mutex: sysvsem (Default: sysvsem)不知道是什么意思? 两个文件在同一目录下啊,代码如下:--------------index.html<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="ProgId" content="FrontPage.Editor.Document"><title>post test</title></head><body><form method="POST" action="test.php"> <div align="center"> <table border="0" width="60%" cellpadding="0"> <tr> <td width="32%" bgcolor="#0066FF"> <p align="right">E-mail:</td> <center> <td width="68%" bgcolor="#6699FF"><input type="text" name="email" size="30"></td> </tr> </center> <tr> <td width="32%" bgcolor="#0066FF"> <p align="right">密码:</td> <td width="68%" bgcolor="#6699FF"><input type="password" name="password" size="20"></td> </tr> <tr> <td width="100%" colspan="2"> <p align="center"><input type="submit" value="提交" name="submit"> <input type="reset" value="重置" name="reset"></td> </tr> <center> </table> </center> </div></form></body></html>-------------test.php<?php $email=$_POST["email"]; $passwd=$_POST["password"]; echo "your email is $email <br>"; echo "your password is $passwd <br>";?> 问题解决了,发现在/etc/init.d/和/etc/rc.d/init.d/下各有一个httpd,删除后重起apache就好了,给分啦 求PHP好书 ajax 提交表单数据 各位大侠帮忙,在线等。。 根据ip判断地址!!! php5 注入漏洞问题 网站被黑后的快速恢复办法 类似17173的游戏门户站 计划开发一套免费phpcms,有意者请进 phplib模板的问题。高分求解,成心求教 iis下的代码为什么在apache上出错啊??? PHP如何实现数据分页显示,以及参数的传递。谢绝拷贝网络资源!! PHP可否调用动态链接库? 弱智小问题.
[notice]Apache/1.3.27(Unix) PHP/4.3.0 configured -- resuming normal operations
[notice]Accept mutex: sysvsem (Default: sysvsem)
不知道是什么意思?
--------------
index.html
<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="ProgId" content="FrontPage.Editor.Document">
<title>post test</title>
</head><body><form method="POST" action="test.php">
<div align="center">
<table border="0" width="60%" cellpadding="0">
<tr>
<td width="32%" bgcolor="#0066FF">
<p align="right">E-mail:</td>
<center>
<td width="68%" bgcolor="#6699FF"><input type="text" name="email" size="30"></td>
</tr>
</center>
<tr>
<td width="32%" bgcolor="#0066FF">
<p align="right">密码:</td>
<td width="68%" bgcolor="#6699FF"><input type="password" name="password" size="20"></td>
</tr>
<tr>
<td width="100%" colspan="2">
<p align="center"><input type="submit" value="提交" name="submit">
<input type="reset" value="重置" name="reset"></td>
</tr>
<center>
</table>
</center>
</div>
</form></body></html>
-------------
test.php
<?php
$email=$_POST["email"];
$passwd=$_POST["password"];
echo "your email is $email <br>";
echo "your password is $passwd <br>";
?>