#-----------------------------------# #--- MovieDB v2.7 written by ---# #--- andre stiehm ---# #--- andre [at] manpage [dot] ch ---# #-----------------------------------# #--- @first version: 2006/08/01 ---# #--- @this version: 2010/10/16 ---# #-----------------------------------# #--- vcd is using imdbphp-0.8.4 ---# #--- and browseremulator-v2.0.1 ---# #-----------------------------------# 1) Prerequisits: MUSTS: - WebServer (i.E. Apache 2.x) - PHP (MD is developped using 5.1.6) - MySQL (MD is developped using 5.0.22) - JavaScript enabled in your browser NICE TO HAVES: - PEARs HTTP_Request class (see pear.php.net) Without this, you aren't able to use Movie Database behind a Proxy. If you doesn't need this, BrowserEmulator (included in Release) is used intead of HTTP_Request 2) Install: - Unpack the archive. - move the 'moviedb' directory under your http document root. - edit includes/config_inc.php: $db_host = your Host $db_port = your Port $db_user = your User $db_name = your Database Name $db_pass = your Password $db_sys = your DB Subsystem (mysql or pgsql) $vcd_cachedir = Directory where to cache data. This directory must be writeable for httpd-user $vcd_usecache = if set to 'true' caching will be used. Other option is 'false'. $vcd_storecache = Store called IMDB pages for later use. $vcd_url = the URL to your Movie Database (used in Newsletter). $mail_server = your SMTP Server $mail_user = your MTP Username $mail_pass = your SMTP Password You only can use Proxy if you have PEAR/HTTP_Request installed and set $vcd_usePEAR to true!!! $vcd_usePEAR = if set to 'true', HTTP_Request will be used instead of Browseremulator. if set to 'false', proxy settings are NOT used. $vcd_proxy = your Proxy Hostname $vcd_proxyport = your Proxy Port number - On Linux or other *nixes, make sure the directories 'posters' and 'cache' are writeable for your httpd-user. Otherwise, caching and download of posters doesn't work. - Call the installer by using your webbrowser pointing to http://localhost/moviedb/_install/install.php Here you can choose between 'create database and tables' or 'create only tables', if you want to use an existing MySQL database. - Now you must be able to call http://localhost/moviedb/ without an error message! 3) CleanUp: After installing and testing, remove directory '_install' from your document root or delete it! But don't delete it too fast, cause the manuals are located there too :-))) Enjoy, andre [at] manpage [dot] ch