silverglade Posted June 21, 2011 Share Posted June 21, 2011 Hi, I have a good book but I think it might be outdated. I was wondering what the "upfile" means in the following code. any help greatly appreciated. $uploadfile = $uploaddir . $_FILES['upfile']['name']; I thought it was supposed to be $fileName = $_FILES['userfile']['name']; Quote Link to comment https://forums.phpfreaks.com/topic/239995-_filesupfilename-is-upfile-valid/ Share on other sites More sharing options...
TeNDoLLA Posted June 21, 2011 Share Posted June 21, 2011 The upfile is the name of the form field in the HTML code. Quote Link to comment https://forums.phpfreaks.com/topic/239995-_filesupfilename-is-upfile-valid/#findComment-1232781 Share on other sites More sharing options...
silverglade Posted June 21, 2011 Author Share Posted June 21, 2011 oops. Thank you. Quote Link to comment https://forums.phpfreaks.com/topic/239995-_filesupfilename-is-upfile-valid/#findComment-1232783 Share on other sites More sharing options...
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.