You are here: Re: First attempt at uploading image and storing to db « PHP Programming Language « IT news, forums, messages
Re: First attempt at uploading image and storing to db

Posted by Andy Hassall on 08/17/05 21:35

On 16 Aug 2005 17:05:01 -0700, bissatch@yahoo.co.uk wrote:

>Think I know what the problem was. The image I was using was about
>1200x1500px, when I resized the image (as I will do in my script
>anyway) it should be ok.
>
>Is there a maximum data size that datatype, 'text' can store in a
>database or is there something else in the above script that is
>limiting this? Cheers

Yes, 2^16 bytes = 64Kb, which won't get you very far for big images.
http://dev.mysql.com/doc/mysql/en/storage-requirements.html

--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация