{"id":16103346,"url":"https://github.com/cooltey/c.p.sub","last_synced_at":"2025-07-12T05:03:45.503Z","repository":{"id":17567799,"uuid":"20371191","full_name":"cooltey/C.P.Sub","owner":"cooltey","description":"PHP Bulletin System with CSV","archived":false,"fork":false,"pushed_at":"2020-12-19T22:40:47.000Z","size":4788,"stargazers_count":10,"open_issues_count":2,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-02T13:48:40.443Z","etag":null,"topics":["php","php-bulletin"],"latest_commit_sha":null,"homepage":null,"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/cooltey.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":"2014-06-01T05:00:41.000Z","updated_at":"2021-07-23T09:35:13.000Z","dependencies_parsed_at":"2022-09-11T02:23:52.397Z","dependency_job_id":null,"html_url":"https://github.com/cooltey/C.P.Sub","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cooltey/C.P.Sub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooltey%2FC.P.Sub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooltey%2FC.P.Sub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooltey%2FC.P.Sub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooltey%2FC.P.Sub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cooltey","download_url":"https://codeload.github.com/cooltey/C.P.Sub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cooltey%2FC.P.Sub/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264940386,"owners_count":23686243,"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":["php","php-bulletin"],"created_at":"2024-10-09T18:56:44.493Z","updated_at":"2025-07-12T05:03:45.479Z","avatar_url":"https://github.com/cooltey.png","language":"PHP","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=DJP82TECKDSFL\u0026currency_code=USD\u0026source=url"],"categories":[],"sub_categories":[],"readme":"[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=DJP82TECKDSFL\u0026currency_code=USD\u0026source=url)\nC.P.Sub 公告系統\n=======\n\u003ch4\u003e前言\u003c/h4\u003e\n\nPHP 公告系統，用 CSV 格式建構出來的小型 PHP 程式。\n\n基本上就是強化舊版的功能，改寫一下內部架構，並套用了 Bootstrap ，所以自行更換樣式！\n\n如果使用上有遇到什麼問題，或是有程式上的建議、架構上的建議、甚至是功能上的建議，都歡迎來信告知。\n\n當然，最重要的是要記得 Bug 回報～\n\n=======\n\n\u003ch4\u003e安裝方式\u003c/h4\u003e\n\n\u003ch3\u003e1. Server 健康檢查\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e環境：PHP 5.3 以上 (建議)\u003c/li\u003e\n  \u003cli\u003ePHP.ini 設定：\n    \u003cul\u003e\n      \u003col\u003eshort_open_tag = on;\u003c/ol\u003e\n      \u003col\u003efile_uploads = on;\u003c/ol\u003e\n      \u003col\u003eallow_url_fopen = on;\u003c/ol\u003e\n    \u003c/ul\u003e\n  \u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003e2. 上傳至 FTP 目錄\u003c/h3\u003e\n\u003ch3\u003e3. 修改資料夾/目錄權限，改成 777\u003c/h3\u003e\n\u003cul\u003e \n \u003cli\u003ecpsub/upload/\u003c/li\u003e\n \u003cli\u003ecpsub/db/article.txt\u003c/li\u003e\n \u003cli\u003ecpsub/db/settings.txt\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003e4. 修改帳號密碼\u003c/h3\u003e\n\u003cul\u003e\n \u003cli\u003e開啟 cpsub/config/config.php\u003c/li\u003e\n \u003cli\u003e修改陣列數值\u003c/li\u003e\n \u003ccode\u003e\n          $add_user\t= array(\"username\" =\u003e \"admin\", // 帳號\n\t\t\t\t\t\"password\" =\u003e \"admin\", // 密碼\n\t\t\t\t\t\"nickname\" =\u003e \"管理員\" // 管理員\n\t\t\t\t\t); \n \u003c/code\u003e\n\u003c/ul\u003e\n\u003ch3\u003e5. 大功告成，開啟瀏覽器觀看！\u003c/h3\u003e\n\n=======\n\n\u003ch4\u003e版本更新\u003c/h4\u003e\n\n\u003cb\u003e2019-02-10: v5.3\u003c/b\u003e\u003cbr\u003e\n\u003cli\u003e1.修正 CSRF 問題並新增開關 CSRF 防護的功能\u003c/li\u003e\n\n\n\n=======\n\nThis is a PHP bulletin project that made with CSV file system (which is not using SQL as the database)\n\nIf you have any question or suggestion about this project, please contact with me by using E-mail, Facebook message, or Twitter.\n\n\u003ch4\u003eInstallation\u003c/h4\u003e\n\n\u003ch3\u003e1. Server Configuration\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eEnvironment：PHP 5.3 or higher\u003c/li\u003e\n  \u003cli\u003ePHP.ini config：\n    \u003cul\u003e\n      \u003col\u003eshort_open_tag = on;\u003c/ol\u003e\n      \u003col\u003efile_uploads = on;\u003c/ol\u003e\n      \u003col\u003eallow_url_fopen = on;\u003c/ol\u003e\n    \u003c/ul\u003e\n  \u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003e2. Upload the whole \"cpsub\" folder to your server\u003c/h3\u003e\n\u003ch3\u003e3. Update the folder/files's permissions to 777\u003c/h3\u003e\n\u003cul\u003e \n \u003cli\u003ecpsub/upload/\u003c/li\u003e\n \u003cli\u003ecpsub/db/article.txt\u003c/li\u003e\n \u003cli\u003ecpsub/db/settings.txt\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003e4. Update the user name and user password\u003c/h3\u003e\n\u003cul\u003e\n \u003cli\u003eOpen cpsub/config/config.php\u003c/li\u003e\n \u003cli\u003eEdit the array values\u003c/li\u003e\n \u003ccode\u003e\n          $add_user\t= array(\"username\" =\u003e \"admin\", // account\n\t\t\t\t\t\"password\" =\u003e \"admin\", // password\n\t\t\t\t\t\"nickname\" =\u003e \"Admin\" // Nickname\n\t\t\t\t\t); \n \u003c/code\u003e\n\u003c/ul\u003e\n\u003ch3\u003e5. Finish!!\u003c/h3\u003e\n\n\n=======\n\n\u003ch4\u003eRelsease Logs\u003c/h4\u003e\n\n\u003cb\u003e2020-12-19: v5.35\u003c/b\u003e\u003cbr\u003e\n\u003cli\u003e1. Update class structure to prevent deprecated warnings.\u003c/li\u003e\n\n\u003cb\u003e2019-2-10: v5.3\u003c/b\u003e\u003cbr\u003e\n\u003cli\u003e1. Added CSRF protection\u003c/li\u003e\n\n\u003cb\u003e2017-4-6: v5.21\u003c/b\u003e\u003cbr\u003e\n\u003cli\u003e1. Filter Update\u003c/li\u003e\n\n\u003cb\u003e2017-3-27: v5.2\u003c/b\u003e\u003cbr\u003e\n\u003cli\u003e1. XSS issues resolved\u003c/li\u003e\n\n\u003cb\u003e2016-11-30: v5.1\u003c/b\u003e\u003cbr\u003e\n\u003cli\u003e1. Added a last-time-viewed date column to prevent the data format loses\u003c/li\u003e\n\u003cli\u003e2. Remove some bugs\u003c/li\u003e\n\u003cli\u003e2. Added an IP Checker\u003c/li\u003e\n\n\n\n=======\n=======\n\nDemo 網址：http://cooltey.org/cpsub/\n\n目前程式版本 Current Version：v5.3\n\n作者 Author：Cooltey Feng\n\nE-mail：coolteygame@gmail.com\n\nFacebook：http://www.facebook.com/cooltey\n\nTwitter：http://twitter.com/cooltey\n\n網站 My Website：http://www.cooltey.org\n\n若有問題，歡迎交流！\n\nContact me if you have any question!\n\n=======\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcooltey%2Fc.p.sub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcooltey%2Fc.p.sub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcooltey%2Fc.p.sub/lists"}