Computer Science 390 – PHP Files Lab
Objective: Learn how to work with text files in PHP.
· Write a PHP program which creates a text file with at least 10 lines of data.
· The input data for the file comes from an html form.
· Write a second PHP program which opens the file and displays the contents of the file on a web page.
· Create your own code examples. You cannot use the examples from the book to meet the requirements of this assignment.
· Add a comment block at the top of your programs including your name, the name of the program and a short description of the program’s functionality.
· Add comments to your .php file to clearly illustrate the functionality of each section of your code.
· Zip up your files and upload them to the Moodle link for this assignment.