Able to upload files via PHP.

Things that are done:

1) Client Side

(a) Added StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build() and setting its thread policy to the one created.

This will override the NetworkOnMainThread issue. A proper file uploader class will be made.

2) Server Side

- changed folder permissions of photos to 777 as it requires to be globally accessed and writable by all. need to review permissions in order to prevent forms of RFI attacks during Security Audit.

PHP file responsible is fileUpload.php
Method in Android code is the fileUpload()