mica123 Posted April 13, 2017 Share Posted April 13, 2017 I am sorry, Larry, I have to ask yet another question. I ran the 11.4 script - it works, there are no error messages, only the successful one "Your file has been uploaded." But there is no file in the destination folder. I use your line of code: if (move_uploaded_file ($_FILES['the_file']['tmp_name'], "C:\Main\uploads{$_FILES['the_file']['name']}")) { I have xampp and I created a folder outside xampp as you can see - I have all the permissions. I tried everything and still no file. Regards Link to comment Share on other sites More sharing options...
mica123 Posted April 14, 2017 Author Share Posted April 14, 2017 Sorry, please disregard this question - after countless checks and rewrites it now works - but I am not sure why. It may have been due to a typing error. Thanks. Link to comment Share on other sites More sharing options...
Larry Posted April 14, 2017 Share Posted April 14, 2017 Computers are sometimes a mystery. Glad it's working now, regardless! Link to comment Share on other sites More sharing options...
mica123 Posted April 14, 2017 Author Share Posted April 14, 2017 Thanks, Larry. Thank you too for writing this book - I very much appreciate the clear explanations and examples. Sometimes I get confused - for example in this very Chapter it took me some time to work out that making a new directory in fact means making a new subdirectory in a directory I was supposed to create beforehand. Thanks for your patience. Link to comment Share on other sites More sharing options...
Larry Posted April 19, 2017 Share Posted April 19, 2017 Oh, thank you so much for saying so! I really really really appreciate it! Link to comment Share on other sites More sharing options...
Recommended Posts