PHP Projects

Social Networking Site In PHP With Source Code

Project: Social Networking Site – BioBook

– To download Social Networking Site project for free (scroll down)

Features:

  1. Login/sign up
  2. Post Status, Photos, and comments
  3. Maintain user bio
  4. User Timeline

This is a web application project implemented in PHP. Programming Languages used in this project are PHP, HTML, CSS, JavaScript. Just like the social networking site “Facebook”, this project is a bit similar to it. Here, the user can post status, photos, and comment. The user’s timeline is displayed same as the facebook. Users can also edit profile and maintain bio. The user’s profile pictures and cover photo can be changed easily just like in facebook.

How To Run?

You’ll need XAMP Server or WAMP Server. Put the file inside “c:/wamp/www/” or “c:/xampp/htdocs/”. Go To “localhost/phpmyadmin” in any browser and create Database (name according to SQL file).In That Database, Import the SQL file and finally go to URL: “http://localhost/file_name/phpfilename
Don’t Forget To create a database and import SQL file to run.

USERNAME AND PASSWORD ARE PROVIDED IN “Readme.txt” FILE INSIDE PROJECT FOLDER

Project Demo

DOWNLOAD SOCIAL NETWORKING SITE IN PHP WITH SOURCE CODE: CLICK THE BUTTON BELOW


This Post Has 56 Comments

  1. Nithiya Kumaresan Reply

    once when i give the login details, i get a warning message “check your username and password’.
    kindly address my problem

  2. Long Robo Reply

    The code in the database.php does not connect me to the mysql

    mysql_select_db(‘u119_biobk’,mysql_connect(‘mysql.hostinger.com’,’u119_bookb’,’d1I1gSUtj8SXj9Ch’))or die(mysql_error());

    are we missing a code here?

    • Long Robo Reply

      If I use this it will connect but won’t work with other php files in social networking project:

      $servername = “mysql.hostinger.com”;
      $database = “u119_biobk”;
      $username = “u119_bookb”;
      $password = “d1I1gSUtj8SXj9Ch”;

      Create connection

      $conn = mysqli_connect($servername, $username, $password, $database);

      Check connection

      if (!$conn) {

      die(“Connection failed: ” . mysqli_connect_error());

      }
      echo “Connected successfully”;
      mysqli_close($conn);

  3. Long Robo Reply

    The first databse.php codes does not work. The second one works but will not work with the other php files in the social networking site project. Are we missing code/s in your database.php?

  4. lema Reply

    This code connect to DB.
    is there any code missed?

  5. lema Reply

    It do not connect to database.

  6. asish kumar Reply

    after entering the sign in details or sign up details …it shows some error in database.php?? ….plss help

  7. asish kumar Reply

    when i login then i get message check ur password and username…??plss help me

  8. Harini Reply

    Getting a fatal error after sign up.What to do?

  9. edg Reply

    i create the database “biobook” used the ql file, did everything correctly, and its still doesn’t work.
    When i login or sign up it does nothing?????

  10. ganesh Reply

    bro i sent you a message in facebook i need somehelp

  11. ananya Reply

    Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in C:xamppphtdocsbiobookincludesdatabase.php:2 Stack trace: #0 C:xamppphtdocsbiobooksignin_form.php(3): include() #1 {main} thrown in C:xamppphtdocsbiobookincludesdatabase.php on line 2

    please help me out

  12. ananya Reply

    even after siggining in with provided detalis : error is displayed

    Fatal error: Uncaught Error: Call to undefined function mysql_query() in C:xamppphtdocsbiobooksignin_form.php:10 Stack trace: #0 {main} thrown in C:xamppphtdocsbiobooksignin_form.php on line 10

  13. HaMid Reply

    when i post something then this error occurs…
    please help me out..

    Error uploading file! Code 4.

  14. Tuấn Nguyễn Reply

    So i basically have the same problem with everyone (i.e connecting to the db)
    Can you guys with guys show us how to connect to the db correctly as well?
    I tried changing the codes and but they all result in “Check your username and password”

    • Fabian Ros Reply

      you have to create a database with a proper name and import the SQL file
      DB name is mentioned in the config file

  15. tejas Reply

    Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in C:xampphtdocsbiobookincludesdatabase.php:2 Stack trace: #0 C:xampphtdocsbiobooksignin_form.php(3): include() #1 {main} thrown in C:xampphtdocsbiobookincludesdatabase.php on line 2

    not working plzz send me youtube link how the work

  16. kyle stokes Reply

    hi can you help me get the data base working

  17. tejas Reply

    CONNECT TO ORACLE SERVER USER NAME PASSORD????????

  18. navfal Reply

    Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in C:\xampp\htdocs\biobook\includes\database.php:2 Stack trace: #0 C:\xampp\htdocs\biobook\session.php(2): include() #1 C:\xampp\htdocs\biobook\signup_form.php(1): include(‘C:\\xampp\\htdocs…’) #2 {main} thrown in C:\xampp\htdocs\biobook\includes\database.php on line 2

    This error appeared when I registered at first, I changed the mysql_select.. to mysqli_select, thinking it would reduce errors but it didn’t work.

    Please look into this, Thank you very much for the source codes ONLINE

    ERROR REFERRING TO THIS CODE :

  19. deepika Reply

    Fatal error: Uncaught Error: Call to undefined function mysql_select_db() in F:\xampp\htdocs\biobook\includes\database.php:2 Stack trace: #0 F:\xampp\htdocs\biobook\signin_form.php(3): include() #1 {main} thrown in F:\xampp\htdocs\biobook\includes\database.php on line 2

  20. ziba Reply

    get a warning when log in ‘please check your email and password’

  21. Keshav Sharma Reply

    It is only working with the already stored data in the users table.
    No new signup is being recorded in the db.

    The problem is with signing up the user.

  22. Saffura Shaikh Reply

    When I’m logging in I’m redirecting to index.php file we’re else it should go on home.php file plzz help me as soon as possible

  23. Gourav Singh Reply

    just like other people’s comments, it is not showing error but the files are not interconnected and new user is not being registered and where do i have to use the login password details given in readme doc?????? anyone ????

Leave a Reply

Your email address will not be published. Required fields are marked *