How to remove iphone restriction codes?

A few months ago my friend put a restriction code on my iPhone, He denies he ever did it but i now cannot access youtube, safari e.t.c.

So could you please give me an answer for this one quick as i will shortly be leaving for vacation.

BEST ANSWER TOP RATING INSTANTLY!

You can reset with the computer you originally sync-ed your iphone to.that's all you can really do.

You have to Get your Friend to Give you the Restricted Code Once you get in you should be able to turn it off