Hello,
I've ran into strange a bit situation:
i have to do file upload. I did this and there is no question about that.
The question is:
i want first verify all the data and then ask the user to confirm it. So i
get all inputs and do my check, then i'd like to generate a page that has
only 2 buttons submit and cancel, and on submit upload the data. Here the
problem comes. Is it possible to do that? I mean is there any way of doing
such a form? There is no attribute hidden for input type file. Is there any
way at least to set the value for this field?
I've tried using value="myfilename", but this does not work.
The problem can be solved by parsing all the data in the POST data request.
But this stream contains useful data and I can not later retrieve it. E.g
stream has <some_my_value> <one_more_value> <file_itself> <value>
<value_again> <another_file>
I am not sure if the request can be served without knowledge about fields
<value> and <value_again>. However, to get these values i must skip maybe
useful information. I can not use temporary files for storing it.
Huh, if someone got what I am talking about, could you please share your
possible ideas with me.
Thanks,
Egidijus