[dev] Horde Forms -- file upload

Christopher Troup ctroup at uwo.ca
Sat Nov 26 22:50:34 PST 2005


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.

Any help would be spectacular, thanks.
Chris


More information about the dev mailing list