New Computer bought will information be deleted?
On your iPhone go to Settings > iCloud > Storage and Backup and turn on iCloud Backup

It will save your configurations and pictures on iCloud. This is the same you do when you sync your iPhone with iTunes. In this way you can restore your data from iCloud.

Once you have done the first backup you can attach the iPhone to your computer without loosing data.