Login | Register | FAQ
Anonymous

Test whether your host supports PHP

You can test whether your host supports PHP by following the steps below:

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

    <?php echo "Hello World!"; ?>
     
  3. Upload the file to your web host.
  4. Open the file in your browser.
  5. If the browser writes "Hello World!" your web host supports PHP and you are ready to go. Otherwise contact your hosting provider for more information.

That's it! Now are you ready to code your first PHP page. Hurry on to Lesson 3!


Related topics in the PHP ForumRepliesViews
Lesson 20 - undefined id error message.766140
my code is not working25597
Retrieve data from the database -error833192
error04665
PHP and jQuery with AJAX upload not working17621

+ Post a new topic


<< Lesson 2: Servers

Lesson 3: Your first PHP page >>