Re: Storing 4KB jpeg images on hospital web server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux