Hi!
I would like to use a database to upload the files. Cause i got a system ( http://portal.lbpsb.qc.ca ) and i think that it's using a old and completely bug version of FCK. We want to change it, but i need to understand how can i upload my files to a SQL server database.
thank you!
Martin
Thu, 02/02/2006 - 08:38
#1
RE: Use FCK with a database
I posted this elsewher then suumbled on this, it may help someone. this is a simplified down and dirty way of doing this. It assumes that you can create a table and insert some 'Lorem Ipsum' or other temp copy to begin with and update as needed.
CREATE TABLE `about` (
`id` int(11) NOT NULL auto_increment,
`copyOne` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;
1. First connect to the database. I store this with the scripts to recall and update in an includes folder.
/*includes/connect.php*/