How can I disable the iPhone Restrictions code?
There is no way to remove the Restrictions passcode without restoring the device in iTunes or from the device. However, you can save your data by backing it up to iCloud or iTunes and restoring all content to the device after it has been restored.