Test whether your host supports PHP
You can test whether your host supports PHP by following the steps below:
- 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.
- 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 Forum | Replies | Views |
---|---|---|
Retrieve data from the database -error | 14 | 38519 |
Lesson 20 - undefined id error message. | 7 | 67102 |
my code is not working | 2 | 5979 |
error | 0 | 4928 |
PHP and jQuery with AJAX upload not working | 1 | 7887 |