Lab - Week 1
Hello World!
-
Create a
labs/week1
directory under your/var/www/html
directory -
Open an editor and create a file named
helloworld.php
and save it to yourlabs/week1
directory -
Enter the following code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
|
-
Make sure you save the file to your
/var/www/html/labs/week1
directory -
Open a browser and enter the URL for
localhost/labs/week1/helloworld.php
-
Show the contents of the file and the screen output to your instructor