A very basic twitter clone written for my Database II course
general.php
- Holds queries 1-5
login.php
- Script to log user in
signup.php
- Includes a form to sign a user up
You must be logged in to see the following files.
index.php
- Only accessible if the user is signed in
- Shows all tweets and gives the ability to create tweets or comments
logout.php
- Script to log user out
deletecomment.php
- Deletes a comment with given $_GET parameter
follow.php
- Handles logic for following/unfollowing users
header.php
- Includes all necessary HTML headers and starts the session
messages.php
- Grabs and displays all messages from the database