Guarda questa guida:

http://www.mrwebmaster.it/php/guida-...-pdo_7594.html