The application allows users to browse a movie database. The homepage displays a list of available movies, while each movie has its own dynamically generated page based on data retrieved from the database. Detailed information is presented for each movie, including the title, description, genre, release year, and other data stored in the database.
The project uses PHP for database communication and dynamic page generation, JavaScript for handling interactive user interface elements, and HTML and CSS for creating the visual layer of the application.
- XAMPP (Apache + MySQL)
- PHP
- Web browser
-
Copy the
filmyfolder to thehtdocsdirectory in XAMPP. -
Start the Apache and MySQL modules in the XAMPP Control Panel.
-
Open phpMyAdmin (
http://localhost/phpmyadmin). -
Create a new database.
-
Import the
filmy.sqlfile into the newly created database. -
If necessary, adjust the database connection settings in the project files.
-
Open the following address in your web browser:
http://localhost/filmy
============================================================================================
Aplikacja umożliwia przeglądanie bazy filmów. Na stronie głównej wyświetlana jest lista dostępnych filmów, natomiast każdy film posiada własną podstronę generowaną dynamicznie na podstawie danych pobieranych z bazy danych. Dla każdego filmu prezentowane są szczegółowe informacje, takie jak tytuł, opis, gatunek, rok produkcji oraz inne zapisane w bazie dane.
Projekt wykorzystuje PHP do komunikacji z bazą danych i generowania dynamicznej zawartości stron, JavaScript do obsługi interaktywnych elementów interfejsu, a HTML i CSS do stworzenia warstwy wizualnej aplikacji.
- XAMPP (Apache + MySQL)
- PHP
- Przeglądarka internetowa
-
Skopiuj folder
filmydo kataloguhtdocsw XAMPP. -
Uruchom moduły Apache oraz MySQL w panelu XAMPP.
-
Otwórz phpMyAdmin (
http://localhost/phpmyadmin). -
Utwórz nową bazę danych.
-
Zaimportuj plik
filmy.sqldo utworzonej bazy. -
W razie potrzeby dostosuj dane połączenia z bazą danych w plikach projektu.
-
Otwórz w przeglądarce adres:
http://localhost/filmy