Login | Register | FAQ

Testing if your server supports PHP

+ Post a reply

Page 1 of 1

Testing if your server supports PHP

by Kevin Loughrey » Thu Aug 15, 2013 2:24 am

A suggestion that I hope will be helpful regarding the subject section in the PHP tutorials.

In the tutorial it says:
Create a file in Notepad (or similar text editor) named test.php (note that the file extension must be ".php" instead of ".htm").
Insert the following code in the file:

<?php echo "Hello World!"; ?>

Upload the file to your web host.
Open the file in your browser.

I suggest the last line should be altered to:

"Open your browser and type [your website's address, eg, http://www.mywebsite.com]/test.php"

The present instruction to: "Open the file in your browser", could be confusing to a newbie in that they could easily interpret that instruction to mean (when using, for example, Mozilla) to open their browser, go to "File, Open" ... browse to a saved copy of test.php on their computer and try to open it.

Hope this is helpful.
User avatar

Kevin Loughrey

  • Posts: 1
  • Joined: Thu Aug 15, 2013 12:29 am

Re: Testing if your server supports PHP

by XainPro » Thu Aug 15, 2013 10:59 am

Yes i Agree with you Kevin Loughrey
lot's of persons even ask that they have opened file in browser directly and see nothing
Thanks for nice suggestion.
User avatar


  • Posts: 2401
  • Joined: Fri Feb 17, 2012 8:10 pm

+ Post a reply

Page 1 of 1