Below is the code I used in order to upload files into a directory. It works fine. My main question is:
move_uploaded_file() is the one that saves t
You guess correctly. Read the manual page for move_uploaded_file. Set the second parameter to whereever your want to save the file.
If it doesn't work, there is something wrong with your $fileName. Please post your most recent code.
$fileName