Simple Friend System Using PHP with Source Code

Language

Simple Friend System with Source is a PHP project that can let you send a friend request to other users. The program was created using PHP OOP,  MySQLi, and Javascript.  The program is very straightforward, the user can access the system when he/she signup an account. The user can search and send a random user to the home page. After sending a request the receiving user can decide whether to accept or decline the sender. The system is inspired by the famous "Facebook" site, it has similar functionality when adding friends.

This Simple Friend System is a good start to those newbie programmers that are planning to create or develop a Social Media Web application. The source code itself is easy to understand on how it was build and it works so the beginners can learn easily using the source code. Feel free to download and modify the source code. The features and instructions are written below.

Features

  • Secure Login
  • User Registration
  • Home Page
  • Friend Requests List
  • Friend List
  • All Users List

How to Run

Requirements

  • Download and Install any local web server such as XAMPP/WAMP.
  • Download the provided source code zip file. (download button is located below)

Installation/Setup

  1. Open your XAMPP/WAMP's Control Panel and start the "Apache" and "MySQL".
  2. Extract the downloaded source code file.
  3. If you are using XAMPP, copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory. And If you are using WAMP, paste it into the "www" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming “friend”.
  6. Import the provided SQL file. The file is known as “friend.sql” located inside the "db" folder.
  7. Browse the Simple Friend System in a browser. i.e. http://localhost/Simple%20Friend%20System%20Using%20PHP/

DEMO

That's it! I hope that this system can help you with what you are looking for. For more updates and tutorials just kindly visit this site.

Enjoy Coding!!

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byAnonymous (not verified)on Fri, 04/08/2022 - 16:09

it was nice

Add new comment