Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
final album
Search
LucienLee
November 28, 2013
Programming
0
73
final album
The fundamental php & web development class
LucienLee
November 28, 2013
Tweet
Share
More Decks by LucienLee
See All by LucienLee
SASS & Compass 101
lucienlee
1
300
Use PaaS service to host your web - with pagodabox
lucienlee
0
79
Simple Album
lucienlee
0
94
Accessing MySQL from PHP
lucienlee
1
370
DataBase and MySQL
lucienlee
1
230
PHP 101+1:function & form
lucienlee
1
290
PHP 101: flow control
lucienlee
0
330
Start to Build your Web
lucienlee
1
430
既然如此,那我們來hack資本世界吧!
lucienlee
0
160
Other Decks in Programming
See All in Programming
Go製CLIツールをnpmで配布するには
syumai
2
1.2k
エンジニアのための”最低限いい感じ”デザイン入門
shunshobon
0
100
GUI操作LLMの最新動向: UI-TARSと関連論文紹介
kfujikawa
0
910
可変性を制する設計: 構造と振る舞いから考える概念モデリングとその実装
a_suenami
10
1.7k
Scale out your Claude Code ~自社専用Agentで10xする開発プロセス~
yukukotani
9
2k
大規模FlutterプロジェクトのCI実行時間を約8割削減した話
teamlab
PRO
0
470
Nuances on Kubernetes - RubyConf Taiwan 2025
envek
0
150
パスタの技術
yusukebe
1
370
コーディングは技術者(エンジニア)の嗜みでして / Learning the System Development Mindset from Rock Lady
mackey0225
2
460
技術的負債で信頼性が限界だったWordPress運用をShifterで完全復活させた話
rvirus0817
1
1.6k
Comparing decimals in Swift Testing
417_72ki
0
170
なぜ今、Terraformの本を書いたのか? - 著者陣に聞く!『Terraformではじめる実践IaC』登壇資料
fufuhu
4
590
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
450
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Writing Fast Ruby
sferik
628
62k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Art, The Web, and Tiny UX
lynnandtonic
301
21k
Thoughts on Productivity
jonyablonski
69
4.8k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
283
13k
The Language of Interfaces
destraynor
158
25k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
4 Signs Your Business is Dying
shpigford
184
22k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Transcript
Final Album with member system Fundamental PHP & Web Development
! lecturer : Lucien Lee 李柏緯 Lecture 9
functional demand •Upload images •View images •Change images’ informations •Delete
images •View images list with thumbnail
More • Member system: signup, login, privilege management • Album
management • Only album owner can manipulate album and photo
None
Screenshot
Screenshot
Screenshot
Screenshot
None
None
None
? How to know who is user?
HTTP is stateless
Cookie •Client side •User can modify cookie •browser have to
allow and support cookie •Support cross domain
session •Server side •User can’t touch •not support cross domain
How Session work
Start use Session <?php session_start() ?>
save record <?php session_start(); $_SESSION[‘name’] = lucien; ?>
get record <?php session_start(); echo $_SESSION[‘name’]; ?>
delete session <?php session_destroy(); ?> or <?php session_unset(); ?>
Be secret on password
md5 <?php md5(‘psword' + salt )?> //salt can help your
password saving safer
practice