掲示板 |
|
|
|
|
…/O6-14-3/join |
|
|
|
|
├
member_picture //画像のアップロードデレクトリなので、デレクトリのみの存在です。(Since it is the image upload
directory, only the directory exists.) |
├check.php //周辺の画面と処理を作る(Create peripheral screens and processes) |
|
|
|
|
├index.php //会員登録用画面を作る(Create a member
registration screen) |
|
|
|
|
└ thanks.php //ユーザー登録完了画面(User registration
completion screen) |
|
|
|
|
|
|
|
|
|
…/O6-14-3/ |
|
|
|
|
├ db.txt //dbテーブル作成のカラムコマンド(Column command for db table creation) |
|
|
|
|
├ style.css//背景など(background etc.) |
|
|
|
|
├ view.php //個別画像を作る(create individual images) |
|
|
|
|
├ login.php //ログイン処理(Login process) |
|
|
|
|
├ logout.php //ログアウト処理(Logout process) |
|
|
|
|
├ index.php //投稿画面を作る(create post screen) |
|
|
|
|
├ dbconnect.php //データベース接続のプログラム(Database
connection program) |
|
|
|
|
└ delete.php //削除画面と削除機能を作る(Create a delete
screen and delete function) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
db.txt //dbテーブル作成のカラムコマンド(Column
command for db table creation) |
|
|
|
|
データーベース名:
oneline_bbs |
|
|
|
|
=============================== |
|
|
|
|
----------------------------------------------------------- |
|
|
|
|
テーブル名 :members2 |
|
|
|
|
----------------------------------------------------------- |
|
|
|
|
テーブルの構造 |
|
|
|
|
|
|
|
|
|
CREATE TABLE `members2` ( |
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT, |
|
|
|
|
` name` VARCHAR(50) NOT NULL UNIQUE, |
|
|
|
|
`password` varchar(100) NOT NULL, |
|
|
|
|
`picture` varchar(255) NOT NULL, |
|
|
|
|
`created` datetime NOT NULL, |
|
|
|
|
`modified` timestamp NOT NULL DEFAULT
CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
|
|
|
|
PRIMARY KEY (`id`) |
|
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3
; |
|
|
|
|
--
-------------------------------------------------------- |
|
|
|
|
テーブル名:posts |
|
|
|
|
テーブルの構造 |
|
|
|
|
CREATE TABLE `posts` ( |
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT, |
|
|
|
|
`message` text NOT NULL, |
|
|
|
|
`member_id` int(11) NOT NULL, |
|
|
|
|
`reply_post_id` int(11) NOT NULL, |
|
|
|
|
`created` datetime NOT NULL, |
|
|
|
|
`modified` timestamp NOT NULL DEFAULT
CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
|
|
|
|
PRIMARY KEY (`id`) |
|
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5
; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|