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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.