PHP and MySQL

Resize your image with PHP (Output as JPG or Save to a new file)

Sample

22 Jul 20103348

To resize your images with ratio size and reduce file's size is very easy now. There are two options for this. First output to browser as an image and second save your new image to a file by filtering file's type. I hope that this will give an advantage to fulfil your need.

Backup Your MySQL Database Using PHP

Backup MySQL

20 Jul 20103834

One of the most important tasks any developer needs to do often is back up their MySQL database. In many cases, the database is what drives most of the site. While most web hosts do a daily backup of a customer’s database, relying on them to make backups and provide them at no cost is risky to say the least. That’s why I’ve created a database backup function that I can call whenever I want — including nightly CRONs.        

nVitou.com in brief

nVitou.com was founded in July 2010 by a Cambodian, NOUV Vithou, located in Phnom Penh. The mission is to exchange knowledge and experiences on code and design.