Skip to content

cooltey/C.P.Sub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Donate C.P.Sub 公告系統

前言

PHP 公告系統,用 CSV 格式建構出來的小型 PHP 程式。

基本上就是強化舊版的功能,改寫一下內部架構,並套用了 Bootstrap ,所以自行更換樣式!

如果使用上有遇到什麼問題,或是有程式上的建議、架構上的建議、甚至是功能上的建議,都歡迎來信告知。

當然,最重要的是要記得 Bug 回報~

=======

安裝方式

1. Server 健康檢查

  • 環境:PHP 5.3 以上 (建議)
  • PHP.ini 設定:
        short_open_tag = on;
        file_uploads = on;
        allow_url_fopen = on;

2. 上傳至 FTP 目錄

3. 修改資料夾/目錄權限,改成 777

  • cpsub/upload/
  • cpsub/db/article.txt
  • cpsub/db/settings.txt

4. 修改帳號密碼

  • 開啟 cpsub/config/config.php
  • 修改陣列數值
  • $add_user = array("username" => "admin", // 帳號 "password" => "admin", // 密碼 "nickname" => "管理員" // 管理員 );

5. 大功告成,開啟瀏覽器觀看!

=======

版本更新

2019-02-10: v5.3

  • 1.修正 CSRF 問題並新增開關 CSRF 防護的功能
  • =======

    This is a PHP bulletin project that made with CSV file system (which is not using SQL as the database)

    If you have any question or suggestion about this project, please contact with me by using E-mail, Facebook message, or Twitter.

    Installation

    1. Server Configuration

    • Environment:PHP 5.3 or higher
    • PHP.ini config:
          short_open_tag = on;
          file_uploads = on;
          allow_url_fopen = on;

    2. Upload the whole "cpsub" folder to your server

    3. Update the folder/files's permissions to 777

    • cpsub/upload/
    • cpsub/db/article.txt
    • cpsub/db/settings.txt

    4. Update the user name and user password

    • Open cpsub/config/config.php
    • Edit the array values
    • $add_user = array("username" => "admin", // account "password" => "admin", // password "nickname" => "Admin" // Nickname );

    5. Finish!!

    =======

    Relsease Logs

    2020-12-19: v5.35

  • 1. Update class structure to prevent deprecated warnings.
  • 2019-2-10: v5.3

  • 1. Added CSRF protection
  • 2017-4-6: v5.21

  • 1. Filter Update
  • 2017-3-27: v5.2

  • 1. XSS issues resolved
  • 2016-11-30: v5.1

  • 1. Added a last-time-viewed date column to prevent the data format loses
  • 2. Remove some bugs
  • 2. Added an IP Checker
  • =======

    Demo 網址:http://cooltey.org/cpsub/

    目前程式版本 Current Version:v5.3

    作者 Author:Cooltey Feng

    E-mail:[email protected]

    Facebook:http://www.facebook.com/cooltey

    Twitter:http://twitter.com/cooltey

    網站 My Website:http://www.cooltey.org

    若有問題,歡迎交流!

    Contact me if you have any question!

    =======