Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Programming Assign.

Unit 2
My submission

Instructions for submission 


Part 1: 
Open up an internet browser and go to the following
website: https://www.tutorialspoint.com/execute_php_online.php 
Type the following code: 
<?PHP
phpinfo();
?>
After you type the code, click the Execute command.
Take a screenshot of your code’s output (the screenshot should show everything up to the last /etc
command).
Save the screenshot in a word processing program and name the document index_php. 
Note that the output displays the server configuration information. If you had an actual server
created that you were using, you could use the command to display the server configuration 
Part 2: 
Return to the following website: https://www.tutorialspoint.com/execute_php_online.php  
Clear out the code that you typed in Part 1 of the assignment. 
Create PHP code that outputs the following: 
PHP is sorta Fun! 
My Hello world! program 
There is a lot more to learn about PHP! 
My name is yourname_ 
Once you have created your code, click Execute.
Take a screenshot of your code’s output.
Copy this screenshot in the Word document, index_php that you created in Part 1 of the assignment.
Submit your Word document.

You might also like