Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » File picker
Re: File picker [message #376 is a reply to message #374] Wed, 08 November 2006 08:02 Go to previous message
AJM is currently offline  AJM
Messages: 2371
Registered: April 2006
Location: Surrey, UK
Senior Member
You are not looking in the right place. The script 'std.fileipload1.inc' calls the initialiseFileUpload() method which in turn calls the _cm_initialiseFileUpload() method in your application table class. This is where you specify the parameters, such as:
function _cm_initialiseFileUpload ($fieldarray)
// perform any initialisation before displaying the File Upload screen.
{
    $this->upload_subdir      = 'pictures';
    $this->upload_filetypes   = array('image/x-png', 'image/gif');
    $this->upload_maxfilesize = 100;

    return $fieldarray;

} // _cm_initialiseFileUpload


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: std.list3 problem
Next Topic: std.list3 passing middle table to child form
Goto Forum:
  


Current Time: Wed Nov 27 14:38:07 EST 2024

Total time taken to generate the page: 0.01102 seconds