On Tue, 24 Jun 2008, James Pic wrote:
> Joe Kepley wrote:
> >
> > We could have something like an HTTPUploadedFile class with attributes for
> > file name, mime type, size, tmp file name, and error code. A saveTo() method
> > that calls move_uploaded_file would offer some syntatic sugar as well. Then
> > I could say things
> > like: $input->parameters['resume']->saveTo('resumes/xyz.doc');
> >
> > Thoughts?
>
> Sounds like that could use a proxy from MvcUserInputTiein...
> I really like this idea.
Actually, UserInput just does filtering - it does not handle uploaded
files. Honestly, I think we might need to consider to forget about
UserInput a bit first.
regards,
Derick
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components