<p>Is there a fool-proof way to pull out all the risks involved in a project? And does it differ depending on the type of projects your working on (ie: website, client/server...)?</p>

Definitely no fool-proof way. Whole books have been written on the topic. And speaking of books, I recommend this one:
Software Project Survival Guide by Steve McConnell (I know, crappy image)
alt text http://ecx.images-amazon.com/images/I/41X9bGinoNL._SL500_BO2,204,203,200_AA219_PIsitb-sticker-dp-arrow,TopRight,-24,-23_SH20_OU01_.jpg