================================================================================
ABOUT php4dvd v0.1 RC1
================================================================================
php4dvd is a small yet powerful, php/mysql powered movie data base.
features:
* search IMDb.com for movie information
* and stores this detailed information (like directors, actors, poster,
language...)
* add covers to your movies
* powerful and quick search function
* very configurable, easy to use
* layout is based on a template which you can easily adjust
for more information, see: http://php4dvd.sourceforge.net/
================================================================================
LICENSE
================================================================================
This file is part of php4dvd.
php4dvd is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
php4dvd is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with php4dvd. If not, see <http://www.gnu.org/licenses/>.
================================================================================
REQUIREMENTS
================================================================================
To use these files you need to have a php installation:
- Apache 2
- Php 4.3
- GD2 library to be able to upload (and resize) covers
(to check if you have gd2 available, open phpinfo.php)
- MySQL 4.1
================================================================================
INSTALLATION
================================================================================
* Files
Extract the archive and copy the directory to your website. For example
http://www.myhost.com/php4dvd/
Make sure index.php, config.php and common.inc.php are in the root of this
directory.
Make some directories writable on the server. Chmod (777) these directories:
- smarty/compiled/
- movies/
- movies/covers/
* Database
Create a MySQL database, for example 'php4dvd'.
Import the sql file from 'docs/php4dvd.sql'.
================================================================================
CONFIGURATION
================================================================================
* Php
Open config.php in the root of the site and read the explanation of the
variables you can adjust.
* GD2
In order to to be able to upload and resize covers, you need the GD2
library. Check if 'gd' is available by opening phpinfo.php
* Access
Try to run the website, but if the site failes opening with a 'Internal
Server Error', adjust the .htaccess file in the root of the site.
Try to remove the Options line by placing a # at the beginning of the line.
Otherwise remove the <Files> section. These settings might fail because of
the permissions of your webserver.
================================================================================
TEMPLATES
================================================================================
This site can be customized by adding your own template. Take a look at the
tpl/default_en/ directory and copy this directory to your own tpl directory.
Now you can adjust the config.php to your template. Check all template files
and try to adjust them to your own whishes.
If you only want to adjust some colors, open the
tpl/<template_dir>/css/style.css and style_ie.css to adjust the css of the
site.
================================================================================
THANKS TO
================================================================================
Thanks to Izzy from IzzySoft. He wrote the imdb php class to be able to
search for movies at IMDb.com. For more information see:
http://projects.izzysoft.de/?topic=progs;subject=imdbphp