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
79
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
final album
The fundamental php & web development class
LucienLee
November 28, 2013
More Decks by LucienLee
See All by LucienLee
SASS & Compass 101
lucienlee
1
320
Use PaaS service to host your web - with pagodabox
lucienlee
0
87
Simple Album
lucienlee
0
100
Accessing MySQL from PHP
lucienlee
1
380
DataBase and MySQL
lucienlee
1
240
PHP 101+1:function & form
lucienlee
1
300
PHP 101: flow control
lucienlee
0
330
Start to Build your Web
lucienlee
1
440
既然如此,那我們來hack資本世界吧!
lucienlee
0
160
Other Decks in Programming
See All in Programming
Claude Code全社展開のためにやったことn選~プラグイン302個・コミッター271人を支えるために~
kenchan
5
1.7k
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
370
[PyCon KR 2026] More Variants, More Diversity for AI Accelerators
achimnol
0
110
バグを直したら useEffect が消えた
colorful12
3
700
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
400
MySQLとPostgreSQLって何が違うの?
akagami
0
130
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
410
Go 1.27 における memory allocation の高速化
andpad
0
310
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
200
My Marp Sample
sinoue0108
0
110
Android CLI
fornewid
0
230
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
440
Done Done
chrislema
186
16k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
340
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
450
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
450
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
440
GitHub's CSS Performance
jonrohan
1033
470k
Exploring anti-patterns in Rails
aemeredith
3
470
Crafting Experiences
bethany
1
260
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