PHP Project: DailyLife

阅读量:59 字数:1329 阅读时间:3min

Introduction

Wanna have a private zone to record some special moment, some unforgettable memory?

Wanna have a quite place to speak-out-loud but not to afraid of the mass followers of your social media?

Wanna have a section in your website to share your feeling of your daily life but don't want to start a formal post?

Introducing DailyLife, a slight php-based platform that record the moment of your daily life.

just a few step, you can have your own DailyLife page.

You can edit your status like this:

or you can edit your status in a rich-text form:

Everytime you update your status, your timeline changes too:

Also, you can share your status to social or delete your status as long as you want to.

Folk on Github

Demo

See the DailyLife page of me: DailyLife

Installation

  1. Download the projects
git clone https://github.com/markqq/DailyLife.git
  1. Modify conn.php to your own mysql server and datebase.

  2. Create a new table dailylife in your database use sql.sql

mysql
use database;
create table dailylife
(
   statusDate         varchar(50) not null,
   statusContent      text,
   hashTag            varchar(50) not null,
   id                 INT(11) not null AUTO_INCREMENT,
   likeNum            INT(11),
   primary key (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  1. Encrypt folder admin

  2. Done!

发布于: #作品 #PHP

上一篇:你的网站上线前,最好检查下这些项目是否都做到位了

就像一辆汽车交付前需要经过非常多项目的检查一样。一个网站上线前,我们也得确保各个方面都做到位了,没有遗漏也没有错误。比如:HTML、CSS、JavaScript、安全、SEO、性能、可访问性等等。 Head Meta 标签 1、在 HTML 顶部申明 HTML 5 Doctype <!doctype html> 紧接着,我们要申明下面这些 meta 标签: 2、正确地设置

下一篇:使用 gdrive 自动备份你的服务器

若果你的服务器没有自动备份的功能,那等到数据丢失的那一刻再后悔也来不及了。Google Drive 是谷歌公司推出的一项在线云存储服务。gdrive 是一款开源、跨平台的命令行工具可与 Google Drive 进行关联。本文列出通过 gdrive 和 Google Drive 来使你的服务器拥有自动备份功能的详细步骤。 前提 你需要拥有一个 Google Drive 账号。请前往 ht

雁过留痕,风过留声

目 录