Major topics covered in this class:
- Server-Side Page Includes
- Creating a Header for the Entire Site
- Accessing Files & Folders
- Reading Text Files
In this class, we begin by learning about
Server-Side Page Includes. This allows us to include one page inside
of another. We can use it to create a custom header and footer
for our web site (and perhaps a links bar, banner ad sections, etc.)
that will be on every page of our site. You can also use it to include
functions or subroutines in multiple pages without having to copy and
paste them.

Next, we'll learn how to work with Files &
Folders on the server. We'll learn how to see if a file or folder
exists, how to access the file's properties such as the date it was last
modified or it's size. Then, we'll learn how to loop through all of the
files and subfolders in a folder.

Finally, we'll learn how to read data in
from text files on the server. This can be very useful to create things
such as a username/password list for logons, product lists, customer
data, etc. if you don't want to go through the trouble of setting up a
database. If data doesn't change that often, a text file is often good
enough.

Understanding text files is a good first
step to eventually working with databases. For those times when you
don't want to set up an entire database to do something simple (like
provide a username/password logon) text files work just great. You can
also use text files for things like creating a custom server log,
invoice, etc. Don't miss this class. |