Re: Storing 4KB jpeg images on hospital web server

From: Date: Thu, 08 Mar 2007 08:18:52 +0000
Subject: Re: Storing 4KB jpeg images on hospital web server
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-43228@lists.php.net to get a copy of this message
i do know there's no problem upload 4kb img to database but is different case for.. 1mb pic.. it always fail. > >> > >> CREATE TABLE image ( > >> image_id int(10) unsigned NOT NULL auto_increment, > >> image_type varchar(50) NOT NULL default '', my application said is header ---------------------------------------------------------------- > >> image longblob NOT NULL, > >> image_size bigint(20) NOT NULL default '0', u don't need size.. since is able to count/strlen from image ------------------------------------------------------------- > >> image_name varchar(255) NOT NULL default '', > >> image_date datetime NOT NULL default '0000-00-00 00:00:00', > >> UNIQUE KEY image_id (image_id) > >> ); > >> what u mention above, i suggest to use cms like jomlaa

« previous php.db (#43228) next »