php4dvd is a small yet powerful, php/mysql powered movie database.
- Add movie information from IMDb.com
- (directors, actors, poster, language...)
- Keeps track on what movies you watched, bought or loaned out to a friend
- Add covers/posters to your movies
- What do you think about a movie? Write it down in personal notes
- Search function (title, year, plot)
- Filter by: categories, format
- Sort it by: name, year, rating, format, seen, own, added, loaned out
- Results: limit amount of movies shown
- Layouts: choose between five different display layouts
- Multi-user (admin, editor, guest)
- Multiple languages
- Very configurable, easy to use
- Editable templates using Smarty (no PHP knowledge is required)
- SEO Friendly URL
- Automatic YouTube trailers
- Apache 2.2+
- PHP 5.3.7+
- MySQL 5.0+
- GD2 library to be able to upload (and resize) covers
- PDO library
- PDO driver for MySQL/MariaDB
- cURL
- Apache 2.4+ / Nginx
- PHP 7+
- MySQL 5.6+ / MariaDB 10.0+
- YouTube Data API key
- Minimum Apache 2.4
- Minimum PHP 5.5.0
- Download and unzip php4dvd package if you haven't already.
- Create a database for php4dvd on your web server, as well as a MySQL (or MariaDB) user who has all privileges for accessing and modifying it.
- Upload the php4dvd files to the desired location on your web server:
- (e.g. http://www.yoursite.com/php4dvd).
- Run the php4dvd installation script by accessing the URL in a web browser.
- Manually remove the install/ directory.
- Log into php4dvd using the username: admin, password: admin.
Delete all files and folders except:
config/config.php
config/version.inc.php
movies/*
movies/covers/*
v3.1.1 or older: You will need to change your $settings["defaultlanguage"] inside config.php
$settings["defaultlanguage"] = "en"; // English
$settings["defaultlanguage"] = "nl"; // Nederlands
$settings["defaultlanguage"] = "sv"; // Swedish
$settings["defaultlanguage"] = "pl"; // Polish
- Download and unzip php4dvd package if you haven't already.
- Upload the php4dvd files to the desired location on your web server:
- (e.g. http://www.yoursite.com/php4dvd).
- Run the php4dvd installation script by accessing the URL in a web browser.
- Manually remove the install/ directory.
- Log into php4dvd using your username/password.
You will find all configurable options inside config/config.default.php, all of which can be set in your config/config.php file. By default, guest users can't view your movie collection. If you want guest users to view your collection, set the 'guestview' variable to true in config/config.php after installation or upgrade.
Activate inside config/config.default.php or config/config.php and read the instructions inside .htaccess.
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.
- Download cacert.pem.
- Store it somewhere on your server.
C:\php\extras\ssl\cacert.pem - Open your php.ini and add the following under
[curl].
curl.cainfo = "C:\php\extras\ssl\cacert.pem" - Restart your web server.
I recommend that you update your local ca-bundle.crt or ca-certificates.crt file for your whole system.
There are different best practices depending on OS. Google is your best bet, for finding the safest way.
You can also use a local cacert.pem like in Windows.
/etc/ssl/certs/cacert.pem
curl.cainfo = "/etc/ssl/certs/cacert.pem"
You can customize your site by adding your own template. Take a look at the tpl/default/ directory and copy this directory to your own tpl directory. Now you can adjust the config/config.php to your new template. Check all template files and try to adjust them to your own whishes.
If you just want to change the color, please check config/config.defaults.php for available skins.
Thanks to cyberolf. He originally created php4dvd.
Thanks to morphias0. He wrote the first automatic installer/upgrade script and came up with some extra features.
Thanks to Izzy from IzzySoft. He wrote the imdbphp class to be able to search for movies at IMDb.com. Big shoutout to Tom for continuing his work.
- AdminLTE
- Bootstrap 3 Typeahead
- JavaScript Cookie
- jQuery Validation Plugin
- Lazy Load Plugin for jQuery
- Magnific Popup
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/.







