Objectives
  • Define and describe file types and permissions
  • Work with directories
  • Upload and download files
  • Write data to files
  • Read data from files
  • Open and close a file stream
  • Manage files and directories
Assignments and Due Dates


Assignments and Due Dates: View
CS2623 Coding Standards - requirements for all class assignments

Required Readings

PHP Programming with MySQL //Second Edition by Don Gosselin, et al
Chapter 5 - Working with Files and Directories
Appendix D - Secure Coding with PHP

Chapter 5: Working with Files and Directories
(Professor's Modification of Text's PowerPoint) View (.ppt) | Print (.pdf)

Text Resources
     Errata Sheet
     Best Practices

Recommended Tutorials
Sample Code
None this week
Supplemental Materials
Software

Same software as previously indicated.

Chapter Questions and Test Reviews

Chapter 5: Review Questions (.rtf file)
Test 2: Review Sheet

Required Assignments
  • SSP06: Files (Complete, upload to Apollo1, then submit URL in the LMS)
  • Weekly Quiz: Chapter 5 (Located in the LMS)
Professor's Class Notes and Comments

Although many websites used databases to store date, basic file handling is still used. Be sure to take the time to have a good understanding of this week's material.

I have enhanced, and incorporated my comments into the revised PowerPoint that accompanies this chapter. (Link in the Supplemental Materials panel). It is recommended that students take the time to review this.

"Appendix D - Secure Coding with PHP" is assigned reading this week. It actually incorporates information from many chapters of the text. Inlcuding it this week seemed to be the best place in terms of the overall course schedule. The PHP Security Guide (listed in Supplemental Materials) is an excellent resource. Check it and the Secure Coding References web page. Condsider bookmarking some of these for future reference.