Skip to content

aydemir89/newWeb

Repository files navigation

Streaming Website Project

This project is a streaming website developed using PHP, HTML, CSS, and JavaScript. Users can sign up on the site to preview content, watch trailers, and view content in full-screen mode. Additionally, the PayPal SDK is integrated to allow users to make payments.

Features

  • User login and logout: Users can sign in and sign out of the website. User sessions are managed using PHP session management.

  • Trailer watching: Users can watch trailers for the content. Trailers are displayed using HTML5 video elements on the site.

  • Content preview: Users can preview the content. The preview screen is designed using HTML and CSS to match the site's layout.

  • Full-screen content viewing: Users can watch content in full-screen mode. Full-screen mode is implemented using JavaScript.

  • PayPal integration: Users can make payments using the PayPal SDK. The PayPal SDK is integrated to handle secure payment transactions and offer various payment options to users.

  • Use of AJAX: AJAX enables background data exchange with the server without refreshing the web page. In this project, AJAX is used for dynamic content loading and data updates.

Installation

  1. Clone this project:

    git clone https://github.com/aydemir89/newWeb.git
    
  2. Run the project folder on your web server. For example, if you are using XAMPP, place the project in the "htdocs" folder.

  3. Start MySQL in the XAMPP control panel.

  4. Create a database in MySQL and update the necessary database connection details in the config.php file. The connection details should be set according to the default XAMPP settings.

  5. Create a PayPal account for PayPal SDK integration and set the required credentials in the paypal.php file.

  6. Use the database.sql file in the project's root directory to create the database tables.

  7. Open the project in your browser:

 http://localhost/project-name

Usage

  1. Sign up or log in on the homepage.

  2. Preview the content and watch trailers.

  3. Click the "Fullscreen" button to watch content in full-screen mode.

  4. Click the "Make Payment" button to proceed with the PayPal payment process.

  5. Click the "Log Out" button to sign out.

Contributing

If you would like to contribute to this project, feel free to submit a pull request. Constructive feedback and improvements are always welcome.

License

This project is licensed under the MIT License.

Releases

No releases published

Packages

No packages published

Languages