How to upload photos/files to iCloud like with Dropbox's application?
I'm sorry, you can't manually upload files to iCloud from your iPhone. Since iOS 8 Apple introduced iCloud Drive, which makes it possible to upload any file with a Mac (on Yosemite). 

You can only access those files on an iPhone when you're, for example, in the Dropbox app.