| От | François Delpierre |
|---|---|
| Тема | Re: How to store files into the DB with PHP. (bytea ?) |
| Дата | |
| Msg-id | 200902021513.11175.pgsql@pivert.org обсуждение исходный текст |
| Ответ на | Re: How to store files into the DB with PHP. (bytea ?) (tv@fuzzy.cz) |
| Список | pgsql-php |
On Monday 02 February 2009 14:17:38 tv@fuzzy.cz wrote: > > But I am just guessing - about a month ago I wrote an article about ways > to store files in a PostgreSQL database: > > http://www.fuzzy.cz/en/articles/storing-files-in-a-postgresql-database/ > > The site is still under construction, so a lot of stuff is missing there > (sorry), but the last section might give you a hint how to mimic LOBs, get > rid of some of the BYTEA / LOB disadvantages. Thanks for this address, this clearly expose the problem. It looks like there is no perfect solution. As I can live with a file size limit of 15Mo for a memory_limit of 64Mo in PHP, I'll certainly go to BYTEA. Anyway, if I use stored procedures to enforce security, the PHP pg_lo_xxx functions will be useless. Thanks a lot, François Delpierre
В списке pgsql-php по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера