[X] Choose Font Here

PHP

PHP Sessions

Saturday, 22 November 2008 05:57

 

PHP မွာ Sessions Variable ကို ကိုယ့္ရဲ ့web application ထဲကို လာလည္တဲ့ User ရဲ ့Information ေတြကို Hold လုပ္ဖို ့သံုးပါတယ္။


Session ဆိုတာကို ျမင္ေအာင္ ေျပာမယ္ဆိုရင္ေတာ့ဗ်ာ။ ကိုယ့္ရဲ ့Computer မွာ Office application တစ္ခုျဖစ္တဲ့ ms word

ကို ဖြင့္လိုက္တယ္။ ျပီးေတာ့ လုပ္စရာရွိတာလုပ္တယ္။ အားလံုးျပီးသြားေတာ့ ကိုယ္သံုးခဲ့တဲ့ application ကို ျပန္ပိတ္လိုက္တယ္ဆိုပါစို ့။

အဲ့ဒါဟာ session ရဲ ့သေဘာထားတစ္ခုပဲ ျဖစ္ပါတယ္။ Computer ကေတာ့ သင္ဘယ္သူလဲ။ ဘယ္အခ်ိန္မွာ စတယ္၊ ဘယ္အခ်ိန္မွာ

ျပီးတယ္ဆိုတာေတြကို သိႏိုင္ပါတယ္။ ဒါေပမယ့္ Internet ေပၚမွာ ဒီ Information ေတြကို သိႏိုင္ဖို ့ရာကေတာ့ ျပႆနာ တစ္ခုပါပဲ။

ဘာျဖစ္လို ့လဲဆိုေတာ့ HTTP address ကေနျပီး web server ကို Information pass လုပ္တဲ့ေနရာမွာ အဲ့ဒီဟာေတြ မပါလို ့ျဖစ္ပါတယ္။

Read more: PHP Sessions

 

Cross-Site Scripting(XSS)

Saturday, 15 November 2008 16:24

Web Application ေတြကို စိတ္အေႏွာက္အယွက္ျဖစ္ေအာင္ Attack လုပ္တဲ့ေနရာမွာ Cross-Site Scripting (XSS) လို ့

ေခၚတဲ့နည္း က အသံုး၀င္လွတဲ့နည္းတစ္ခု ျဖစ္ပါတယ္။


Read more: Cross-Site Scripting(XSS)

 

Semantic URL Attacks

Friday, 14 November 2008 16:02

ကၽြန္ေတာ္ ဒီ POST ေလးကို ေရးျဖစ္တာကေတာ့ Essential PHP Security ဆိုတဲ့ စာအုပ္ေလးကို ဖတ္ၾကည့္မိရာကေနျပီး

အသံုး၀င္ေစမယ့္ အေၾကာင္းအရာေလး ျဖစ္ေနတာေၾကာင့္ အားလံုးသိေအာင္ ျပန္ share လိုက္ပါတယ္။ အေၾကာင္းေလးကေတာ့

Browser ရဲ ့Address Bar မွာ ေပၚေနတဲ့ URL မွာ pass လုပ္တဲ့ data ေတြကို modify လုပ္ျပီး Hack လုပ္တဲ့ sample တစ္ခုပဲ

ျဖစ္ပါတယ္။

Read more: Semantic URL Attacks

 

include Vs require

Saturday, 01 November 2008 17:52

တကယ္ေတာ့ include နဲ႔ require ကသေဘာတရားျခင္း အတူတူပါပဲ။

ဘာလို႔ သုံးလဲဆိုေတာ့ ကြၽန္ေတာ္တို႔ program ေရးရင္ ထပ္ခါထပ္ခါျပန္သုံးရမယ့္ function ေတြရွိတတ္ပါတယ္။ဒါမ်ိဳးေတြကို တျခား php

file တခုအေနနဲ႔ ထုတ္ျပီး ေရးရင္ပိုျပီး ေကာင္းပါတယ္။ ျပီးေတာ့မွ အဲဒီ file ကို include (or) require တို႔နဲ႔ ျပန္ေခၚျပီး အထဲမွာ ေရးထားသမ်

function ေတြအားလုံးကို ျပန္သုံးလို႔ရပါတယ္။ Cool

Read more: include Vs require

 

Page 9 of 12

«StartPrev12345678910NextEnd»

Login Form

Categories Table View

RSS Feed

JoomlaWatch Stats 1.2.9 by Matej Koval

Facebook Share

Share on facebook

Accordion FAQ

mod_joomtouch

Version Iphone

Version Iphone by JoomTouch