အားလံုးပဲ မဂၤလာပါ ခင္ဗ်ာ . . .
ကြ်န္ေတာ္ေရးထာတဲ႕ Internet Shop ရဲ႕ Source Code ကို ဒီမွာ မ်ွေ၀ပါတယ္ ။ ကြ်န္ေတာ္႔ ရဲ႕ 3 weeks project ၁ခုပါ။ php & mysql နဲ႕ေရးထားတာပါ။ Ajax ကေလးေတာင္ နဲနဲ သိသေလာက္ေလး ပါေသးတယ္ဗ်။
ေဟာဒီမွာၾကည့္လို႕ရပါတယ္ ။
http://www.dream.byethost33.com
ေဟာဒီမွာကေတာ့ Administration အတြက္ပါ။
http://www.dream.byethost33.com/admin/index.php
ေဟာဒီမွာ ေဒါင္းလုပ္လုပ္ႏုိင္ပါတယ္
http://www.divshare.com/download/4789624-8bd
လိုအပ္တာေတြကေတာ့ အမ်ားၾကီးရွိပါတာေပါ့ ။
လုပ္ထားသေလာက္ေလးကို မွ်ေ၀လိုက္ျခင္းျဖစ္ပါတယ္ ။
ခင္မင္စြာျဖင့္ . . .
ေမာင္ေရခဲ 
Posted by mgyaykhae |
3 Comments »

PHPMaker is a powerful automation tool that can generate a full set of PHP quickly from MySQL database. Using PHPMaker, you can instantly create Web sites that allow users to view, edit, search, add and delete records on the Web. PHPMaker is designed for high flexibility, numerous options enable you to generate PHP applications that best suits your needs. The generated codes are clean, straightforward and easy-to-customize. The PHP scripts can be run on both Windows or Linux/Unix servers. PHPMaker can save you tons of time and is suitable for both beginners and experienced develpers alike.
Features:
- All scripts linked up properly.
- Optional PHP list, add/copy, view, edit, delete, multi-update and search pages for each table/view. (See Table Setup) Customizable table display order.
- Optional Inline-Add, Inline-Copy, Inline-Delete, Inline-Edit right in the List page.
- Optional confirmation page before insering or updating record.
- Pagers in List/View page.
(more…)
Posted by MrDBA |
2 Comments »
ဒီတစ္ခါေတာ့ ကိုယ့္စက္ထဲမွာ စမ္းႏိုင္ဖို႔ Source file ကိုပါတစ္ခါတည္း ေဒါင္းႏိုင္ပါတယ္ခင္ဗ်ာ …
image-gallery.zip
PHP Image Gallery တစ္ခုကို တည္ေဆာက္တဲ့ အပိုင္းက မနည္းပါဘူး။ ဒီလို တစ္ပိုင္းျခင္းစီေရးသြားၿပီးရင္ အားလံုးစုၿပီး PDF အေနနဲ႔ တင္ေပးပါ့မယ္။ ေလာေလာဆယ္ေတာ့ တစ္ပိုင္းျခင္းဆီပဲ ဖတ္ေပးၾကပါလို႔ ေတာင္းပန္ခ်င္ပါတယ္။ Admin Panel ကိုၾကည့္လိုက္ရင္ Add Album ဆိုတဲ့ အပိုင္းကို ေတြ႔ရပါမယ္။ အဲဒီအပိုင္းအတြက္ source code ကေတာ့ ေအာက္မွာ ေဖာ္ျပေပးထား ပါတယ္။ အဲဒီ Source Code ေတြကို ကူးၿပီး add-albums.php ဆိုၿပီး admin directory ထဲမွာ Save လိုက္ပါ။
(more…)
Posted by phpcrazy |
1 Comment »
ဒီတစ္ခါ ဆက္တည္ေဆာက္ရမယ့္ အပိုင္းက admin အပိုင္းပါ။ ရိုးရိုးရွင္းရွင္ admin login နဲ႔ admin panel ထဲကို ၀င္ႏိုင္ပါတယ္။
ဒီေနရာကေန စမ္းသပ္ႏိုင္ပါတယ္ Admin Panel
$errMsg = '';
if (isset($_POST['txtUserid'])) {
if ($_POST['txtUserid'] == 'bigbadwolf'
&& $_POST['txtUserpw'] == 'huffnpuff') {
$_SESSION['isLogin'] = true;
header('Location: index.php?page=list-album');
exit;
} else {
$errMsg = "Wrong Id/Password";
}
}
အဓိက အလုပ္လုပ္တဲ့ အပိုင္းက အဲဒီအပိုင္းပါပဲ။ userid = bigbadwolf ျဖစ္မယ္ password က huffnpuff ျဖစ္မယ္ဆိုရင္ $_SESSION['isLogin'] = true ျဖစ္မယ္ … အဲဒီလိုဆိုရင္ Album List ကို ၀င္လို႔ရပါၿပီ …
(more…)
Posted by phpcrazy |
1 Comment »
Database ေဆာက္ၿပီးသြားၿပီ ဆိုရင္ေတာ့ ဖိုင္ေတြ တည္ေဆာက္ရပါမယ္ .. ဖိုင္တည္ေဆာက္ပံုကေတာ့ ေအာက္ကအတိုင္း ျဖစ္ပါတယ္။

image folder မွာ ဓာတ္ပံုေတြ သိမ္းဆည္းမွာ ျဖစ္ၿပီး image ေတြရဲ႕ နမူနာပံုေသး(thumbnail)ေတြ ကေတာ့ gallery ေအာက္က subdirectory ထဲမွာ သိမ္းဆည္းမွာ ျဖစ္ပါတယ္။ album, gallery, thumbnail စတဲ့ folder ေတြကို Write Access ေပးထားဖို႔လိုပါတယ္။ Write Access ေပးတယ္ဆိုတာ Linux အတြက္ အဓိက ျဖစ္ပါတယ္။ CHMOD ဆိုတဲ့ command ကို အသံုးျပဳရပါတယ္။ WAMP မွာေတာ့ မလိုပါဘူး။
(more…)
Posted by phpcrazy |
3 Comments »
php နဲ႔ mySQL ကို သံုးၿပီး photo gallery တစ္ခုတည္ေဆာက္တဲ့ tutorial တစ္ခုကို တင္ျပခ်င္ပါတယ္။ ကိုယ့္စက္ထဲမွာပဲ စမ္းမွာဆိုေတာ့ WAMP installation လုပ္ၿပီးၿပီလား။ မလုပ္ရေသးရင္ ဒီမွာ သြားၿပီး ၾကည့္လိုက္ပါ။ တကယ့္ကို ရိုးရွင္းတဲ့ photo image gallery ေလးပါ။ admin section ရယ္.. visitor page ရယ္ ႏွစ္မ်ဳိး ရွိတယ္။
admin panel မွာ -
- add new album (album အသစ္တည္ေဆာက္ခြင့္ရွိမယ္)
- album list (album list ကို ၾကည့္လို႔ရမယ္)
- edit and delete album (album ေတြကို တည္းျဖတ္မယ္၊ ဖ်က္မယ္)
- Add Image (ဓာတ္ပံုေတြကို ထည့္မယ္)
- Image List (ဓာတ္ပံု စာရင္းေတြ)
- Edit and Delete Image (ပံုေတြကို ဖ်က္မယ္၊ တည္းျဖတ္မယ္)
visitor page မွာ -
- display album list (album list ကို ၾကည့္လို႔ရမယ္)
- display image list (image list ကို ၾကည့္လို႔ရမယ္)
- display image detail (image ေတြကို ၾကည့္လို႔ရမယ္) ကဲ စိတ္၀င္စားတယ္ဆိုရင္ေတာ့ (more …) ကိုသာ ကလစ္လိုက္ပါဗ်ာ …
(more…)
Posted by phpcrazy |
No Comments »