Home > Backend Development > PHP Tutorial > html页post给php,为什么变成下载php而不是显示php页?

html页post给php,为什么变成下载php而不是显示php页?

WBOY
Release: 2016-06-02 11:29:48
Original
1344 people have browsed it

phphtml

刚开始学php
这是html页

please fnish it

Name:MrMrsMs

Email Address:

Response:This is ...excellentokayboring

Comment:

php页


$title=$_POST['title'];
$name=$_POST['name'];
$response=$_POST['response'];
$comment=$_POST['comments'];
print "

Thank,$title $name,for your comments

";
?>

我把post改成get也不行。用的是xampp,单独测试php页的时候,是可以显示的,还是环境配置的有问题吗?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template