Oh, I suppose you want more details
Break the problem down into smaller steps.
1) Take photo - use the UIImagePickerController with the sourceType set to use the camera. Once the user takes the photo your UIImagePickerControllerDelegate will get called with the image.
2) Package photo and send it - Once you have the image you need to create an HTTP form request and submit the data to your server. A Google search will reveal several pages describing how this is done in more detail.
3) Write server side - This is up to you to handle. Write a server side page that can handle submitting a file. Then step 2 can work.
I know there aren't many details here but it's a starting point.