PDF Upload Bootstrap 5 theme
PDF Upload
HIDE CODE
<?php $xcrud = Xcrud::get_instance(); $xcrud->table('pdf_data'); // simple file upload //$xcrud->change_type('pdf_file', 'file', '', array('not_rename'=>true)); $xcrud->change_type('pdf_file','file');//,'',array('blob'=>true)); //$xcrud->after_upload("file_callback"); $xcrud->before_insert("before_insert"); $xcrud->before_update("before_update"); $xcrud->column_callback("pdf_blob","show_pdf"); $xcrud->field_callback("pdf_blob","show_pdf"); // simple image upload //$xcrud->change_type('pdf_file', 'image'); echo $xcrud->render(); ?>
Pdf Data
# | Pdf File | Pdf Blob | |
---|---|---|---|
1 | oth17bg54is0g8wwc4.pdf | View Edit Remove |