Lab - Week 1
Hello World!
-
Create a
labs/week1directory under your/var/www/htmldirectory -
Open an editor and create a file named
helloworld.phpand save it to yourlabs/week1directory -
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/week1directory -
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