mica123 0 Posted April 13, 2017 Report 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 Quote Link to post Share on other sites
mica123 0 Posted April 14, 2017 Author Report 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. Quote Link to post Share on other sites
Larry 428 Posted April 14, 2017 Report Share Posted April 14, 2017 Computers are sometimes a mystery. Glad it's working now, regardless! Quote Link to post Share on other sites
mica123 0 Posted April 14, 2017 Author Report 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. Quote Link to post Share on other sites
Larry 428 Posted April 19, 2017 Report Share Posted April 19, 2017 Oh, thank you so much for saying so! I really really really appreciate it! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.