| File |
Role |
Description |
about.txt |
Doc. |
Explanation of the different files |
Connection.php |
Class |
the MySql db connection class |
constanten.php |
Conf. |
the usual config file |
imdb.sql |
Data |
sql file to create the required tables (if you want to store locally) |
IMDBSearch.php |
Class |
the application class |
index.php |
Example |
overview of the movies already stored in the local database |
init.php |
Aux. |
includes and initiates the required files (including config values and classes) |
lib-debug.php |
Aux. |
easy debug functions for displaying values |
list.php |
Aux. |
parses the movielist.txt file and adds all items that have 1 found record directly to the local db (if not already present), offers a choice when multiple records have been found |
movielist.txt |
Data |
example list of movietitles that can be parsed by this application |
new.php |
Aux. |
is called from list.php if a user has clicked one of the 'multiple records'-options, adds the chosen title to the local db |
README_CLASS_OUT_OF_ORDER.txt |
Doc. |
Class out of order - PLEASE READ |
Sql.php |
Class |
class that contains all the sql queries used |
test.php |
Example |
takes a parameter (q) that can contain an imdb id or a movie title, displays a formatted print_r of the array containing the found results, used as an example of what IMDBSearch returns (for developers) |