Friday, October 23, 2009

How do you use ICT?

1. For me FOR Now i am using ICT for business.
2. Last two years I was using ICT for social development.
3. After Last two years i was using ICT for education.

I am consoling my feel to use ICT for business for now, because the most of my fortune is focus on ICT 4B service sector.

Today you are talking about ICT for social development , it means that you are keeping to promote your reputation to reach the best business in the future.

How about you?

ChanHan,

Wednesday, October 14, 2009

Payment methods, Gateways

There are not much payment methods, gateways to provide on the internet. Let's you see the popular gateways that offer online payment on the world.

  1. Cash On Delivery payment method
  2. Accept Purchase Order
  3. Accept Check / Money Order
  4. Accept all major credit and debit cards
  5. Store can be set to authorize only, or auth-capture credit card mode. You can then capture at shipment if desired
  6. Real-time or offline credit card processing
  7. Manual gateway (just collect order & payment information for offline processing)
  8. 2Checkout
  9. Authorize.NET
  10. CDGcommerce (Quantum Payment Gateway)
  11. eWay (Australia)
  12. Google Checkout
  13. Moneybookers
  14. PayPal Standard
  15. PayPal Website Payments Pro (Direct and Express)
  16. PayPal PayFlow Pro
  17. PSI Gate
  18. Worldpay
  19. 2c2p

Thursday, October 8, 2009

You always make me down on your act...


Why your word is not true, why you would like to say this or that to look around me, every your act hurt me so much. Why you would like ignoring what you said.

Tuesday, October 6, 2009

ASP.NET/C# Upload & Resize Image

Here is source code used for resizing image by ASP.NET/C#. Hope it helps you.


//********Begin Resize image area********

int intWidth = 0;
int intHeight = 0;
string UlFileName = null;
string NewFileName = null;

intWidth = 100;
//*** Fix Width ***//
//intHeight = 0 '*** If = 0 Auto Re-Cal Size ***//
intHeight = 120;

UlFileName = "images/photos/2009/10/" + rdApplication[22].ToString();

//*** Save Images ***//
//this.fiUpload.SaveAs(Server.MapPath(UlFileName));

NewFileName = "images/photos/2009/10/Thumbnail_" + rdApplication[22].ToString();

System.Drawing.Image objGraphic = System.Drawing.Image.FromFile(Server.MapPath(UlFileName));

Bitmap objBitmap = default(Bitmap);
//*** Calculate Height ***//
if (intHeight > 0)
{
objBitmap = new Bitmap(objGraphic, intWidth, intHeight);
}
else
{
if (objGraphic.Width > intWidth)
{
double ratio = objGraphic.Height / objGraphic.Width;
intHeight = (int)ratio * (int)intWidth;
objBitmap = new Bitmap(objGraphic, intWidth, intHeight);
}
else
{
objBitmap = new Bitmap(objGraphic);
}
}

//*** Save As ***//
objBitmap.Save(Server.MapPath(NewFileName.ToString()), objGraphic.RawFormat);

//*** Close ***//
objGraphic.Dispose();

//*** View Images ***//
//this.imgPicture.Visible = true;
// this.imgPicture.ImageUrl = NewFileName;

//********End Resize image area********


REF: http://www.thaicreate.com/asp.net/c-sharp-asp.net-upload-resize-image.html

Monday, October 5, 2009

DAP - Breaking news in Cambodia is trying Twitter and Facebook

Notice that http://dap-news.com is trying to use Twitter and Facebook to share its news to the world. It is great!!!

Follow it at http://twitter.com/dapnews


DAP-NEWS
The breaking news in Cambodia

Sunday, October 4, 2009

Barcamp Phnom Penh 2 finished

Thanks for taking part in Barcamp Phnom Penh 02 to share the things about technology for development in Cambodia.

Thanks,

Thursday, October 1, 2009

Tomorrow, dream come true #barcamppp2


http://barcampphnompenh.org/

3th -4th October 2009
Sat - Sun

All the things...

The day after tomorrow....tHE BiG BarCamp Phnom Penh2

Dont hide your face, must show it on that day please!

Only one day more, you will see the biG event happen at PUC, the event that gather all technologist meet and talk , fact to face and quest to answer instantly in you mind.

Nearly 1000 people come to that event.

If you want to see detail please go to http://barcampphnompenh.org/

By: ChanHan HY

Friday, September 18, 2009

Pchum ben, Cambdoia traditional


The big pchum ben days is 18th , 19th, 20th, all people have 3 holidays to went back to their homeland to join Cambodia traditional is called Pchum ben.


Tuesday, September 8, 2009

All 999999999999999999999999...

Tomorrow all of your activities must be equal to 9
for example:

9 glasses of beers in 9 seconds on 09/09/09
Go to spark at 9pm 9 mins 9 sec :)

Everythings are 9 on tomorrow.

:)))))

KAMPUCHEA THMEY AIMS LAUNCH THEIR WEBSITE ON 090909

Kampuchea Thmey has designed completely their website by using Khmer Unicode so far. And they will start launching on 09/09/09 because it is very great day.

If you want to read breaking news of Kampuchea Thmey Daily, please go to:



By: Hy ChanHan

Friday, September 4, 2009

Germany's Music at CJCC

On September 4th, 2009 the event of German's music was happening at CJCC, Phnom Penh, Kingdom of Cambodia as they announced on the newspaper this event is free of charge and the ticket must ask for at Meta House.

Iam the one of that event's fan too, i joined it with no seat, was listening by sitting and standing on the floor :(

After the first round was over, some participants went back their home so there were some seat available for me.

Any way it was very romantic and very sweet , My feel mostly fall in it :).

Wednesday, September 2, 2009

CSS3 Preview

Do you know Web standard? What should we know to make our website to become a web standard?
Now CSS3 have released a lot of new modules to make us to develop a website easily.
Go to: http://www.css3.info/preview/

Enjoy with this new term!!!

By: Hy ChanHan

Tuesday, September 1, 2009

Social Media is Changing the Way of Business

With tools like Twitter, Facebook, YouTube, Digg, even century old business practices are becoming non-existent. Investors are losing focus on industry trade shows and franchise publications for new information, and are beginning to turn more to their social networks and blogs. This is also coming in a time where marketing budgets are beginning to be cut. Social networks allow for a company to have a never ending reach to their clientele.

A recent study by the Aberdeen Group stated that companies in 2009 plan on increasing their social media marketing budget by 63 percent. 93 percent of American’s expect companies to have a social media presence and are using social media to participate in conversation to engage with brands as well as reviewing and referring others within their social media networks.

Even large corporations are beginning to experiment with viral marketing tactics. Burger King began a social marketing experiment with Facebook in early 2009. They started a promotion where if you drop 10 Facebook friends, you will receive a free Whopper. Burger King created the application that actually notified the friends that were dropped and in the end, the Whopper sandwich “proved to be stronger than 223,906 friendships.” You can view the statistics at www.WhopperSacrifice.com. Jeff Benjamin, the award-winning creator of Burger King’s online viral campaign, has started a growing trend for online marketing. He has shown that people can effectively market your product for free if you give them the inspiration and tools. However, some brands are perfect for viral marketing while some other brands need to stick with customary ways of online marketing.

Twitter has become the most talked about word on the internet. However, most businesses don’t understand why or how twitter may be important. Twitter can be utilized in various ways, but you have to understand the core concept of twitter. Twitter is a micro-blogging and essentially two-way form of communication that is open to the public. It’s a constant stream of communication from you to your consumer and also on a personal level. Twitter can also be a great market research tool for your company and your entire industry. A lot of companies are beginning to do a lot of innovative marketing tactics that bring 100s of thousands of visitors to their site. Church’s Chicken tempted followers on twitter by giving away one dollar to every person that began to follow them. Almost every major company in the United States has a twitter page to follow updates.

Here’s a random sample of companies using Twitter as part of their social media marketing efforts:



Source: http://libertybelltelecom.com/blog/2009/07/03/social-media-is-changing-the-way-of-business/

Monday, August 31, 2009

How to add a sidebar-top region in Genesis

The Genesis starter theme for Drupal supports 3 different layouts including both sidebars on either the left or right of the main content. In this configuration it can be useful to have a sidebar-top region that spans the width of both sidebars, but sits on top of them. This tutorial shows you how to do this in Genesis.

An example of when you might want to do this would be to display a fixed height banner or contextual ads. Its not good for content that will change in height as it could overflow the div—while the fixed height limitation could be overcome, this tutorial is meant for beginners and is a simple strait forward explanation of how to add new regions in Drupal and how to position the new sidebar-top region using
CSS.

Overview

1. Add a new region to your subthemes .info file.
2. Print the new region in page.tpl.php.
3. Add CSS to position the new region correctly.

For the purposes of this tutorial I am using the genesis-2c layout, which places both sidebars on the right. You will need to make adjustments if you have altered the default width of the sidebars (default is 240px).

1. Add a new region

Open up your subthemes .info file and add the new region. You can call it whatever you want and in the example below I have called it sidebar_top

Note: after you have saved the info file you need to clear the theme registry so the new region will show up on the blocks page. By far the easiest way to do this is by using the Admin Menu module, which has a link to do this included under the Drupal links (the Drupalicon on the left). Otherwise go to Performance settings and clear cache data.

;----------// Regions

; You can define new regions here.

regions[leaderboard] = Leaderboard
regions[header] = Header Blocks
regions[secondary_content] = Secondary Content
regions[content_top] = Content top
regions[content] = Main Content
regions[content_bottom] = Content bottom
regions[tertiary_content] = Tertiary Content
regions[sidebar_top] = Sidebar Top ; Our new region
regions[left] = Sidebar Left
regions[right] = Sidebar Right
regions[footer] = Footer

2. Print the new region

Now in page.tpl.php we need to print the new region. The easy way is to just copy/paste one of the existing sidebars and change the variable name and add a new id, or just copy and paste the new sidebar_top code in the snippet shown below. Note that I have used id="sidebar-top".

Place the new region above the other sidebars. It should look like the following code snippet:

if ($sidebar_top): ?>

print $sidebar_top; ?>

endif; ?>

if ($left): ?>

print $left; ?>

endif; ?>

if ($right): ?>

print $right; ?>

endif; ?>

3. Add CSS to position everything

So now we have to position the new sidebar-top region so it displays correctly.

1. First we float it left.
2. Then we need to give it some negative margin-left to pull it into position.
3. We need to set a height on it.
4. Finally we need to add margin-top to the other sidebars so they don’t overlap the new sidebar top.

The margin top for the left and right sidebars needs to be more than the height of sidebar-top. For those of you who know Zen and how it positions the primary navigation, this is pretty much the same sort of idea.

Heres the CSS - the screenshots below show the CSS and regions using Firebug. Place the CSS in page.css with the other sidebar styles. You will notice I have added 20px to the margin-top value so there is a horizontal gutter.

#sidebar-top {
background: #EEE; /* background color for dev only */
float:left;
height:240px; /* set a height on the new region */
margin-left:-500px; /* use negative margin to pull the sidebar-top into position */
width:480px; /* set a width equal to left + right sidebar widths */
}

#sidebar-left,
#sidebar-right {
margin-top: 260px; /* use margin top to push the left and right sidebars down */
}

Saturday, August 29, 2009

Web3.0 is comming...

What exactly is web 3.0? It basically means web browsing with 3D experience. If Web 2.0 is built towards the social side of the online world, web 3.0 is expected to be where the money will be made by the corporations. Although it have existed for quite some time now, but the exposure is for web 3.0 based applications more towards focused groups. This is possible, thanks to the development of faster processors and hi-speed broadband access that keep on coming our way nowadays.

Web 3.0 based applications are expected to be a virtual reality location where consumers can try anything. An example would be the Second Life, where more than 1 million players, including offline merchants participate. I can’t wait to try out my new shirt.

Thanks,

By: HY ChanHan