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

[quads id=1]


Author: Fabian Ros
0 0 votes
Article Rating
Subscribe
Notify of
guest
57 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Nithiya Kumaresan
Nithiya Kumaresan
6 years ago

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

Naseeb Bajracharya
6 years ago

default login details: [email protected]
password: code0
now did you log in with this one or sign up your own??

Anand
Anand
4 years ago

I am also facing same problem.

Long Robo
Long Robo
5 years ago

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
Long Robo
5 years ago
Reply to  Long Robo

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);

Long Robo
Long Robo
5 years ago

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?

odin
odin
5 years ago
Reply to  Long Robo

we have tested everything, it works perfectly using XAMPP Server.

lema
lema
5 years ago

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

lema
lema
5 years ago

It do not connect to database.

Jay
Jay
3 years ago
Reply to  Fabian Ros

After login it says “please check your email n password”
Even after registering your own details

asish kumar
asish kumar
5 years ago

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

asish kumar
asish kumar
5 years ago

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

Harini
Harini
5 years ago

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

sad
sad
5 years ago

hi

edg
edg
5 years ago

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?????

ganesh
5 years ago

bro i sent you a message in facebook i need somehelp

ananya
ananya
5 years ago

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

ananya
ananya
5 years ago

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

HaMid
HaMid
5 years ago

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

Error uploading file! Code 4.

Tuấn Nguyễn
Tuấn Nguyễn
5 years ago

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”

tejas
tejas
4 years ago

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

kyle stokes
kyle stokes
4 years ago

hi can you help me get the data base working

tejas
tejas
4 years ago

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

navfal
navfal
4 years ago

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 :

codeprojects
Editor
4 years ago
Reply to  navfal

change ‘mysql_’ to ‘mysqli_’ in database.php file on line 2

Akash
Akash
3 years ago
Reply to  navfal

Can u type code

deepika
deepika
3 years ago

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

ziba
ziba
3 years ago

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

Keshav Sharma
3 years ago

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.

Saffura Shaikh
Saffura Shaikh
3 years ago

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

Gourav Singh
Gourav Singh
2 years ago

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 ????

DeveloperAttic
DeveloperAttic
1 year ago

What type of PHP code is written in this project?.. OOP or Procedural?

Last edited 1 year ago by DeveloperAttic