Selling iPhone and have a ?

I am seling my old iPhone to help with getting the new 3G one this July and want to know how I go about clearing my info off the phone and having it back to out-of-box settings..... Thanks for your replies
http://lifehacker.com/395743/completely-erase-your-iphones-data

Here you are, sir.
Interesting, too bad Apple didn't make it easier..........
They will just wait till 2.0 comes they added a new feature to wipe it completely aparently it will take up to an hour if you have a 16 gb iPhone though. But from what I read on engadget (I think) they added their secure wipe feature to the 2.0 firmware.
i've heard, they will upgrade software for free.. i think one shall buy a 3g just in case he wants a newer design.
Why not just Restore and Make New. Easier.
How much are you looking to sell it for?
They will just wait till 2.0 comes they added a new feature to wipe it completely aparently it will take up to an hour if you have a 16 gb iPhone though. But from what I read on engadget (I think) they added their secure wipe feature to the 2.0 firmware.

Yes I'd recommend this too.
Why not just Restore and Make New. Easier.

Restore still leaves sensitive information in the iPhone's NAND memory.
Apple dropped the ball in not providing a safe and easy way to wipe out all our data. Hopefully the rumors posted on Engadget are true, everybody will be in a rush to sell their iPhones now!

Original thread: https://forums.imore.com/threads/selling-iphone-and-have-a.165576/