Uploading Image Files. I Need Help To Make One.

I was searching this forum and stackoverflow for the best step by step solution to implement a file upload (Image) for my website but none of them work well since I don’t want to use a database model for the image file. What I want to do is this. I have a profile index.php as my view. I have the profileController, and I would like to add a button to my view where it allows user to upload an image and put it under a certain directory. Can anyone please explain to me the steps and the things I need to put in certain files in order to be able to do this ? Thanks a lot.