{"id":25539347,"url":"https://github.com/olafwrieden/php-status-posting-system","last_synced_at":"2026-05-09T15:03:45.040Z","repository":{"id":64018872,"uuid":"270581326","full_name":"olafwrieden/PHP-Status-Posting-System","owner":"olafwrieden","description":"A simple Status Posting System using PHP, MySQL, HTML, CSS. AUT Web Development Assignment 1. Grade: A+","archived":false,"fork":false,"pushed_at":"2020-06-08T09:09:13.000Z","size":1180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-04T17:12:17.340Z","etag":null,"topics":["assignment","aut","css","html","mysql","php","skeleton-css","university-course","web-development"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olafwrieden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-08T07:59:06.000Z","updated_at":"2022-12-05T14:42:29.000Z","dependencies_parsed_at":"2023-01-14T19:15:23.749Z","dependency_job_id":null,"html_url":"https://github.com/olafwrieden/PHP-Status-Posting-System","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olafwrieden%2FPHP-Status-Posting-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olafwrieden%2FPHP-Status-Posting-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olafwrieden%2FPHP-Status-Posting-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olafwrieden%2FPHP-Status-Posting-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olafwrieden","download_url":"https://codeload.github.com/olafwrieden/PHP-Status-Posting-System/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239785779,"owners_count":19696765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assignment","aut","css","html","mysql","php","skeleton-css","university-course","web-development"],"created_at":"2025-02-20T05:33:35.401Z","updated_at":"2026-02-01T21:30:18.223Z","avatar_url":"https://github.com/olafwrieden.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Status Posting System (Web Development Assignment 1)\n\n\u003e The aim of this assignment is to create a status system for a social networking site. This system will allow users to post their status and save it to a database table. These posted status details can also be retrieved using text matching.\n\n![Home](images/home.png)\n\n## Introduction\n\nFollowing an introduction to PHP, in this assignment I built a very simple PHP / HTML system where a user enters the details of their fictitious status update (including status code, message, date of publication, share, and permission type). This data is validated and stored in a MySQL database by the server-side PHP scripts.\n\nA user is warned about duplicate status codes, failed submissions etc. This system uses [Skeleton CSS](http://getskeleton.com) - a simple and responsive boilerplate. Overall, this assignment received full (100/100) marks as it met all required criteria.\n\n## Getting up and running\n\n### Connecting to a Relational Database\n\n1. Navigate to [poststatusprocess.php](/poststatusprocess.php#L79) (Line #79) and replace the database credentials placeholders with your MySQL connection details.\n   ```php\n   // Database Credentials\n   $servername = \"[YOUR_DB_SERVER_STRING]\";\n   $username = \"[YOUR_DB_USERNAME]\";\n   $password = \"[YOUR_DB_PASSWORD]\";\n   $dbname = \"[YOUR_DB_NAME]\";\n   ```\n2. Navigate to [searchstatusprocess.php](/searchstatusprocess.php#L39) (Line #39) and replace the database credentials in this file too. **Note:** The assignment did not permit for an additional `settings.php` file to consolidate the database details and `require_once('./settings.php');` where needed.\n3. Upload these files to your PHP environment or install a PHP Server extension in your IDE to serve the project locally.\n4. Simply post a new status. As the database table `posts` does not yet exist, the PHP script will firstly create this table, then proceed to insert the post (provided it meets all criteria). **Note:** *Status Code* follows the format `S0000` (an **S** followed by four digits).\n\n## Screenshots\n\n|      Post Status      |     Success Message      |\n| :-------------------: | :----------------------: |\n| ![](/images/post.png) | ![](/images/success.png) |\n\n|      Search Status      |       Show Search Result       |\n| :---------------------: | :----------------------------: |\n| ![](/images/search.png) | ![](/images/table-display.png) |\n\n|     Showing Multiple Results      |      About Screen      |\n| :-------------------------------: | :--------------------: |\n| ![](/images/multiple-results.png) | ![](/images/about.png) |\n\n### Example Rows in Database\n\n![](/images/db-rows.png)\n\n### Table Structure\n\n![](/images/db-structure.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folafwrieden%2Fphp-status-posting-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folafwrieden%2Fphp-status-posting-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folafwrieden%2Fphp-status-posting-system/lists"}