MediaTracker Source Code

The source code linked below, combined with the file pg-structures.txt, combined with a working Apache + PHP3 installation, a working PostgreSQL installation, and two small changes to Apache's srm.conf file, are all that is required to duplicate the MediaTracker system on your own machine.

The changes required are to add lines reading:

AddType application/x-httpd-php3 .phtml
AddHandler x-httpd-php3 .phtml

to /etc/httpd/conf/srm.conf if they aren't already there. These lines tell Apache that if a file has the .phtml extention to run it through the php3 module before it sends the file to the browser.

It is simple to run PHP as a CGI script as well, though now that Linux distributions (specifically Red Hat) include PHP on the installation media, that configuration is deprecated.

This MediaTracker package can be downloaded from http://www.cs.brandeis.edu/~aland/Projects/MediaTracker/.

Movies

movies/movie-add.phps
movies/movie-list.phps
movies/movie-modify-db2.phps
movies/movie-modify.phps
movies/movie-remove-db.phps
movies/movie-search.phps
movies/movie-remove.phps
movies/movie-add-db.phps
movies/movie-modify-db.phps


Music

music/music-list.phps
music/music-modify.phps
music/music-remove-db.phps
music/music-remove.phps
music/music-add-db.phps
music/music-add.phps
music/music-modify-db2.phps
music/music-search.phps
music/music-modify-db.phps


Media Types

media-types/media-add.phps
media-types/media-add-db.phps
media-types/media-modify-db.phps
media-types/media-modify-db2.phps
media-types/media-modify.phps
media-types/media-remove.phps
media-types/media-list.phps
media-types/media-remove-db.phps


Games

games/game-list.phps
games/game-modify.phps
games/game-remove-db.phps
games/game-remove.phps
games/game-search.phps
games/game-modify-db.phps
games/game-modify-db2.phps
games/game-add-db.phps
games/game-add.phps


Loans

loans/loan-list.phps
loans/loan-add.phps
loans/loan-modify-db2.phps
loans/loan-modify.phps
loans/loan-remove-db.phps
loans/loan-remove.phps
loans/loan-modify-db.phps
loans/loan-add-db.phps


People

people/people-remove-db.phps
people/people-remove.phps
people/people-search.phps
people/people-modify.phps
people/people-add.phps
people/people-modify-db2.phps
people/people-add-db.phps
people/people-list.phps
people/people-modify-db.phps


aland@cs.brandeis.edu