I'm a new web designer that's creating a website that, among other things, allow an admin to fill out a form which fills in the blanks for a web page template that I've created which will then display on our website. I've figured out everything except for how the image upload will work. im currently using a localhost running WAMP (Apache, mysql, php). W3 tutorials had me using $_FILE["myimage"]["name"] to store myimage.jpg in the directory I specified on my server but this doesnt make sense to me. if I'm understanding this correctly then this code is only storing text information and not an image itself which isnt helpful. my understanding is that HTTP requests are text only which means I would need to use FTP to transfer an image but from my research it looks like Apache servers dont support FTP.
so here are my questions: 1. is FTP the best/only way to go about handling image uploads to my server? 2. should I stick with an Apache web server or are there other kinds of servers that would better suit my needs? 3. am I making things harder on myself by doing all of this on a localhost? I'm already planning on migrating to a dreamhost server should I do that sooner rather than later?