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']; 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. 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. Link to comment https://forums.phpfreaks.com/topic/239995-_filesupfilename-is-upfile-valid/#findComment-1232783 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.