[dev] Horde Forms -- file upload
Jan Schneider
jan at horde.org
Sun Nov 27 04:39:04 PST 2005
Zitat von Christopher Troup <ctroup at uwo.ca>:
> Hello all,
> I'm trying to enable file upload from a custom horde module. Right now I'm
> using this:
> $form->addVariable('Upload File', 'uploadfile', 'file',false,false);
> which (if I recall correctly) was the way I used to do things. It seems to
> work fine as far as the form rendering goes.
>
> The problem is, the file never actually gets uploaded.
>
> Also, on a related note, is it possible to add a hidden form field
> for the Max
> Upload Size? It occured to me that PHP may be refusing the upload, since the
> max upload size field doesent exist.
No, PHP doesn't even know this field, and even browsers never
implemented it across the board.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list