登录 | 注册 | FAQ
Anonymous

Your first PHP page

+ 发表回复

3 篇帖子 分页: 1 / 1


Your first PHP page

quizhead » 周六 2月 07, 2015 10:59 am

my browser prints out :
Hello World!";?>
I can also see the PHP commands when I look in the source code.
I saved the file in the root as Page.php
What could be the problem?
头像

quizhead

  • 帖子: 1
  • 注册: 周六 2月 07, 2015 10:51 am

Re: Your first PHP page

nanoverso » 周日 2月 08, 2015 1:14 am

Make sure you are requesting the file from a PHP enabled webserver and not your local filesystem.
头像

nanoverso

  • 帖子: 253
  • 注册: 周六 5月 10, 2014 12:08 am
  • 地址: Brazil
--
Free VST Plugins Download.

Re: Your first PHP page

XainPro » 周日 2月 08, 2015 8:02 pm

you are opening it directly as file open it like web file
like open your browser and in url write

http://localhost/

and check again

for detail please check

lesson 3 carefully
http://html.net/tutorials/php/lesson3.php
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm


+ 发表回复

分页: 1 / 1