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
75
0
Share
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
310
Use PaaS service to host your web - with pagodabox
lucienlee
0
83
Simple Album
lucienlee
0
96
Accessing MySQL from PHP
lucienlee
1
370
DataBase and MySQL
lucienlee
1
240
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
의존성 주입과 모듈화
fornewid
0
150
VueエンジニアがReactを触って感じた_設計の違い
koukimiura
0
180
GoogleCloudとterraform完全に理解した
terisuke
1
140
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
610
感情を設計する
ichimichi
5
1.5k
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
240
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
340
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
24
14k
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
560
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
230
Programming with a DJ Controller — not vibe coding
m_seki
3
140
AIを導入する前にやるべきこと
negima
2
100
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
220
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
43k
Building an army of robots
kneath
306
46k
The agentic SEO stack - context over prompts
schlessera
0
760
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Building Adaptive Systems
keathley
44
3k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
Documentation Writing (for coders)
carmenintech
77
5.3k
Typedesign – Prime Four
hannesfritz
42
3k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
270
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
740
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
270
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