【文件属性】:
文件名称:Twitter-Like-System-PHP:使用PHP的Twitter克隆
文件大小:35KB
文件格式:ZIP
更新时间:2021-03-11 16:21:38
系统开源
Twitter-像系统-PHP
一个使用PHP和MySQL数据库的简单twitter克隆。
试用适用于Twitter-Like-System-PHP的
设置
在MySQL中创建新数据库-推荐
运行以下SQL代码以在数据库中创建表
CREATE TABLE users(
id int NOT NULL AUTO_INCREMENT,
username varchar(15) NOT NULL,
password varchar(32) NOT NULL,
followers int DEFAULT 0,
following int DEFAULT 0,
tweets int DEFAULT 0,
PRIMARY KEY (id)
);
CREATE TABLE following(
id int NOT NULL AUTO_
【文件预览】:
Twitter-Like-System-PHP-master
----unfollow.php(854B)
----profile.php(4KB)
----logout.php(100B)
----connect.php(604B)
----default.jpg(36KB)
----dashboard.php(3KB)
----README.md(1KB)
----index.php(3KB)
----follow.php(868B)
----tweet.php(670B)
----.htaccess(204B)
----hashtag.php(3KB)
----register.php(4KB)