Specifications

One noticeable omission from this table is an option along the lines of store-mail, that is, an
action that actually uploads the newsletters entered via create-mail by administrators. This sin-
gle piece of functionality is actually in a different file, upload.php. We put this in a separate
file because it makes it a little easier on us, the programmers, to keep track of security issues.
We will discuss the implementation of these actions in the three groups listed in the Table 28.2,
that is, actions for people who are not logged in; actions for logged-in users; and actions for
administrators.
Implementing Login
When a brand new user comes to our site, there are three things we would like them to do.
First, look at what we have to offer; second, sign up with us; and third, log in. We will look at
each of these in turn.
In Figure 28.4, you can see the screen we present to users when they first come to our site.
Building Practical PHP and MySQL Projects
P
ART V
672
F
IGURE 28.4
On arrival, users can create a new account, view available lists, or just log in.
Well look at creating a new account and logging in now, and return to viewing list details in
the Implementing User Functionsand Implementing Administrative Functions sections
later on.
34 7842 CH28 3/6/01 3:46 PM Page 672