If I understand you correctly you are trying to put the name of the file in a hidden input on an HTML form and expecting to get that file back. It doesn't work that way, file upload fields in the browser are special, they actually send the data and the user is forced to pick the file themselves (you can't even put a default value in.) This is to ensure someone doesn't force a user to upload sensitive files to the net.
Really I don't understand why you are trying to do it in two parts at all. Why can't you just check the bookmark file for validity, save it in a temporary place on your server, get HTML::TokeParser to immediatly open it and parse it how you want and then return a success or failure message to the browser. You could then unlink the uploaded file so it isn't sitting around on your server.
Lobster Aliens Are attacking the world!In reply to Re: passing fileuploads to more than 1 sub
by cfreak
in thread passing fileuploads to more than 1 sub
by rabbit55
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |