Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

Commit addfacd

Browse files
committed
2 parents 8e6995d + eb43848 commit addfacd

File tree

4 files changed

+21
-4
lines changed

4 files changed

+21
-4
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,19 @@
11
# PHPSocial
2-
Simple PHP social media site, No SQL, No external libraries
2+
PHPSocial is a simple base for other social media applications to build off of to create something amazing!
3+
4+
PHPSocial does not use
5+
- SQL
6+
- Any external libraries/dependencies
7+
8+
All it needs is
9+
- PHP 7.4 or later
10+
- 100KB of hard disk space
11+
- Around 8MB of ram
12+
- And a CPU that works and supports the latter
13+
14+
# ⚠ WARNING ⚠
15+
PHPSocial is probably not the most secure web app ever, and will probably not be ready for production any time soon, it's just a fun experiment to see what can be done with just PHP =)
16+
17+
## How to install
18+
Download a release and copy to your webservers root directory (usualy `/var/www/html` on GNU/Linux systems)
19+
Create an account and go into the `/db/login.json` file and change `admin` from `false` to `true` to become an administrator. If you've done this right, you should see an `Admin panel` link on your homepage.

admin/admin_panel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<!DOCTYPE html>
5050
<html>
5151
<head>
52-
<title>RetroMedia - Admin Panel</title>
52+
<title>PHPSocial - Admin Panel</title>
5353
<link rel="stylesheet" href="/css/admin.css">
5454
</head>
5555
<body>

login.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<!DOCTYPE html>
4848
<html>
4949
<head>
50-
<title>RetroMedia - User Login</title>
50+
<title>PHPSocial - User Login</title>
5151
<link rel="stylesheet" href="css/login.css">
5252
</head>
5353
<body>

register.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<!DOCTYPE html>
5454
<html>
5555
<head>
56-
<title>RetroMedia - User Registration</title>
56+
<title>PHPSocial - User Registration</title>
5757
<link rel="stylesheet" href="css/login.css">
5858
</head>
5959
<body>

0 commit comments

Comments
 (0)