[Phpadsnew-cvs] banner field type in phpads_banners table
Brought to you by:
ciaccia,
scott_switzer
From: Toxik - D. C. <dan...@to...> - 2002-03-04 17:01:33
|
Hi, I came across an upload problem last week, where the gif I tried = uploading (size of 100K) was croped in the display. After searching in = the config file, the code and making some test, I finally clicked... the = problem was the BLOB limit of 2^16 (65K), by changing it to MEDIUM BLOB = everything worked. - I would like to suggest to add an error or warning message, when the = uploaded image size is bigger than the "phpads_banners.banner" field = type - I know that 100K is a big image and I wouldn't recommend it, but the = connection are getting faster and faster so it would maybe be a good = step (or a least warn the user) to change the type to MEDIUM BLOB...? - Is there a reason for using this limited field? By the way excellent work Dann Cohen Toxik Technologies, Inc.=20 (514) 528-6945 @ 222 |