Re: [1.3] file uploads
Philipp Stucki <[email protected]>
| Newsgroups | gmane.comp.cms.bitflux.general |
|---|---|
| Message-ID | <[email protected]> |
qMax wrote: > Now, how should i correctly grab these files in formhandler filter ? > that is - to find out form fields of type 'file', and get their uploaded > filenames. > It there common way ? > (i'm going to email it using rear::mail) You need to have your own formhandler (See http://wiki.bitflux.org/PatForms#Form_handlers for more information about that) Looks like patForms only returns the name of the uploaded file without any path infos. But as you now where it was uploaded to (uploaddir) you can just prepend that path to the passed file name. HTH Philipp -- philipp stucki . bitflux GmbH . schoeneggstrasse 5 . CH-8004 zurich [email protected] . phone +41 1 240 56 70 . fax +41 1 240 56 71 http://www.bitflux.ch -- bitflux-cms mailing list [email protected] http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms