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就好了,给分啦 多个文件之间require_once的问题 php新手请教一个初级问题! 初学者提一关于select问题 网址转换成难懂的编码 为什么在Linux+apache下中文文件名的JPG文件无法显示? && 怎么得到字段的详细信息。 如何从一陌生字符串里简单判别有无特定的字符存在 php如何接收使用POST方式的HTTP请求?急!! 为什么会出先这样的错误提示? 登陆验证空值的问题(在线等待,马上给分) 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>";
?>