So I fill a row into the database and then I'd need to upload a PDF/XML file. This should happen without any user interaction. The script would know what the filename is and where the file is located.
Is there any way to do this? Please empty your tho开发者_Go百科ughts into the answer box!
Transparently uploading a file to a server without any kind of user interaction would be a huge security hole, and is not possible on any browser I know of. The only solution I see would be writing a Firefox extension, or maybe a Greasemonkey script the user would need to install beforehand.
精彩评论