Re: a tricky one (or not) about form submission
On Thu, 14 Feb 2008 07:12:04 -0800, Jeremy wrote:
> I'm not sure what you mean. How can you have $_FILES data in the
> session? Surely the file will be uploaded when the associated form is
> first POSTed?
ok, i was a tad unclear. What I'm looking for essentially is a way to
pass file input from form to form. Say you browse for a file in multipart/
form-data,then you get an array with its name, tmp name, size and so on,
right? So how do you pass along this information? You can pass along any
input types but the file input type.
The form in which I enter the files is validated by a php script then I
need to keep this information for another form that, upon submission,
will be handled by a perl script. The file's information may be on the
server but not its content because the actual file uploading is not done
yet.
The simple alternative would be to submit the form directly to the cgi
(ie without going thru the php manipulation and reentry) but I'll try to
make this work nonetheless.
|