刚学PHP,呵呵,编了个PHP

比如说

<html>
<head>
   <title>Hello World!</title>
</head>
<body>
   <?php echo"hello,world";?>
</body>
</html>

本应该是输出hello,world的,但是并没有,而且一直跳出下载还是打开的下载对话框

解决办法

之所以你会出错,(以集成环境2.0i为例)是因为

1.你根本就把它放在wamp/www的目录下面,

2而且访问的时候也没有用http://localhost/*.php

3一定要记住你已经开启了服务器,并且使它在线状态、启动所有服务即可。

相关文章:

  • 2021-09-22
  • 2021-12-25
  • 2021-09-27
  • 2021-04-15
猜你喜欢
  • 2022-01-13
  • 2021-06-18
  • 2021-12-04
  • 2021-09-12
  • 2022-12-23
  • 2022-12-23
  • 2022-01-29
相关资源
相似解决方案