Skip to content

sql_store_file

do- edited this page Jan 21, 2018 · 1 revision

Описание

Загрузка файла в BLOB-поле.

Синопсис

 sql_store_file (
  {
 
   id               => $id,
   table            => 'doc_file',
   type             => 'text/xml',
   file_name        => 'xml.xml',
   real_path        => $r -> document_root . "/i/upload/images/$item->{id}.txt",
 
   type_column      => 'file_type',
   file_name_column => 'file_name',
   size_column      => 'file_size',
   body_column      => 'file_body',
 
  }
 );

Clone this wiki locally