Question: Chapter 2 Create an HTML form that accepts name, address and telephone number from a user save it as YourInitials_HTML_CA2.html Create a PHP document that
Chapter 2
- Create an HTML form that accepts name, address and telephone number from a user save it as YourInitials_HTML_CA2.html
- Create a PHP document that can write the data entered in the HTML page you created as mentioned in the 1st step. Save it as YourInitials_PHP_CA2.phpThe form entry by the use should be saved in text file called YourInitial_directory.txt . Make sure that the user has entered some data before writing to the text file.
- The php response page that lists all the addresses entered before. You need to use a PHP while loop to read from a file until the end of the file is reached.
- Use PHP to echo the size of the file orders.txt that's present in your current working directory.
- Use PHP to close the text file programmatically.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
