herando Posted June 15, 2006 Share Posted June 15, 2006 How to set initial value of file form field. If I set <input type="file" name="file" value="something" /> , the value doesn't appear on screen. Link to comment https://forums.phpfreaks.com/topic/12053-initial-value-of-file-form-field/ Share on other sites More sharing options...
nogray Posted June 15, 2006 Share Posted June 15, 2006 You cannot set the value of the file input field, security risk. If possible, spammers will be able to steel your files just by visiting the site. Link to comment https://forums.phpfreaks.com/topic/12053-initial-value-of-file-form-field/#findComment-45989 Share on other sites More sharing options...
bobleny Posted June 15, 2006 Share Posted June 15, 2006 Yeah, there is no field type of “file” that I know of. Umm, what exactly are you trying to do? Maybe there’s and alternative... Link to comment https://forums.phpfreaks.com/topic/12053-initial-value-of-file-form-field/#findComment-46093 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.