adam84 Posted January 7, 2008 Share Posted January 7, 2008 This is what I have <INPUT TYPE=FILE NAME=picFile ID=picFile><BR><BR>"; <SELECT MULTIPLE SIZE=10 NAME=picsList ID=picsList> </SELECT> what my goal is to have the user select a file. Once they select the file and the file chooser box closes, I want to somehow add the name of the selected file to the 'picsList'. What my problem is once the file box closes I dont know how I can get access to the file information... any ideas? Link to comment https://forums.phpfreaks.com/topic/84925-solved-file/ Share on other sites More sharing options...
phpQuestioner Posted January 7, 2008 Share Posted January 7, 2008 you want the "picFile" value added as a "picList" option? Link to comment https://forums.phpfreaks.com/topic/84925-solved-file/#findComment-433006 Share on other sites More sharing options...
adam84 Posted January 7, 2008 Author Share Posted January 7, 2008 ya i do, but I also want to store like the path of the file, file name, size, into an array Link to comment https://forums.phpfreaks.com/topic/84925-solved-file/#findComment-433011 Share on other sites More sharing options...
phpQuestioner Posted January 7, 2008 Share Posted January 7, 2008 you really need to do this with server side language; not javascript. you can get the filename and path, but the file size is harder to get accurately with javascript alone. Link to comment https://forums.phpfreaks.com/topic/84925-solved-file/#findComment-433081 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.