Hello to everyone,
I have a mysql table
CREATE TABLE `tools_domuments` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`filename` varchar(255) CHARACTER SET utf8 NOT NULL,
`description` longtext CHARACTER SET utf8 NOT NULL,
`filetype` varchar(255) CHARACTER SET utf8 NOT NULL,
`document` longtext CHARACTER SET utf8 NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
In the column 'document' I am inserting the content of the files encoded with Base64Encode. I am doing this with an desktop app.
My issue is that I want a php file that when I execute it, to download a file that is stored in a specified row.
I have tried some samples but with do success.
Could someone help me with this?!