IMDBPHP2 is an open source, platform-independent and completely free PHP class that can be used to effortlessly access IMDB data and integrate it in your web application to display a list of movies or information about a movie. It’s engineered to run on Linux servers with Apache.
It provides an API to the movie information stored at the IMDB.COM sites. As its name suggests, it is primarily targeted at PHP programmers who want to extend their application or their websites with "movie information" functionality.
The next generation IMDBPHP class
IMDBPHP2 is the next generation, and a drop-in replacement, of the original IMDBPHP class, which supports MoviePilot. Using movies IDs, IMDBPHP is able to retrieve list of actors, directors, and languages for the searched movie.
It is distributed as an all-in-one archive that includes all the source files of the project, as well as a demo (works only on a server), so you can immediately see how the script works and figure out how to quickly implement it in your current design.
Getting started with IMDBPHP2
To integrate IMDBPHP2 in your website, download the latest version from Softpedia or via its official website (see link at the end of the article), save the archive somewhere on your computer and extract its contents.
Next, you must create a folder on the root of your web server and upload all the files of the IMDBPHP2 script into that folder using your favorite file transfer client (e.g. FileZilla, FireFTP or gFTP).
To see it if works, simply access the folder that contains all the IMDBPHP2 files with a web browser (e.g. http://www.softpedia.com/imdbphp2/). You should see a small search box where you can enter the name of a movie/episode or IMDB ID and search it on the IMDB movie database.