Project: Web-based user administration

In this chapter's project, we will add some user administration facilities to the web administration program that we created in the last chapter. We will therefore discuss the changes to the program and will not address those functions we have already discussed in the previous chapter.

As mentioned in the previous chapter, we should get the same results from this program regardless of whether we call it through CGI or with PHP. The output is always a HTML file. Using PHP has the advantage of allowing us to test the program from the command-line where CGI requires hard-wiring of values in the code. It is only after the program is proven locally that one should move it to a test server.

For reasons of illustration ...

Get MySQL for Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.