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

Home » RADICORE » How To » File picker
Re: File picker [message #374 is a reply to message #373] Wed, 08 November 2006 07:19 Go to previous messageGo to previous message
salamsy
Messages: 18
Registered: October 2006
Location: Dakar
Junior Member
Below is what is specified in xample

$fieldspec['picture']= array('type' => 'string',
'size' => 40,
'subtype' => 'image',
'imagewidth' => 75,
'imageheight' => 95,
'control' => 'filepicker',
'task_id' => 'x_personfilepicker)');

This example is for uploading picture but for Word or PDF documents I must specify the following :

$subdir = $fileobject->upload_subdir;
$filetypes = $fileobject->upload_filetypes;
$maxfilesize = $fileobject->upload_maxfilesize;



Abdou Salam
 
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: Sat Nov 23 20:37:33 EST 2024

Total time taken to generate the page: 0.01103 seconds