Answers for "how to store only the filename in the database and the file on the file system."

PHP
0

tina4 save file to database in orm

//Save a block on content to table , field name is content
$page->saveBlob("content", $request->params["content"]);
//Save an uploaded file to field name image, field type is longblob / blob in the database
$page->saveFile("image", "image"); //expecting $_FILES["image"]
Posted by: Guest on August-30-2020

Code answers related to "how to store only the filename in the database and the file on the file system."

Browse Popular Code Answers by Language