- Code: Select all
CREATE TABLE `files` (
`idfiles` bigint(20) NOT NULL AUTO_INCREMENT,
`datacreazione` date DEFAULT NULL,
`utentecreazione` int(11) DEFAULT NULL,
`datamodifica` date DEFAULT NULL,
`utentemodifica` int(11) DEFAULT NULL,
`file_mimetype` varchar(64) COLLATE latin1_general_ci DEFAULT 'jpeg',
`file_filename` varchar(64) COLLATE latin1_general_ci DEFAULT NULL,
`note` mediumtext COLLATE latin1_general_ci,
`file` longblob,
PRIMARY KEY (`idfiles`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci
and fields.ini:
- Code: Select all
[file]
Type = blob
widget:type = file
[note]
widget:type = htmlarea
[utentecreazione]
widget:type = select
vocabulary = utenti
[utentemodifica]
widget:type = select
vocabulary = utenti
when I try to download a file, the link name is:
"files_file_2010_05_31_12_46_14"
without any file extension!!