PHP Classes

File: uploady/profile/logic/myFilesLogic.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   Uploady PHP Upload File to MySQL   uploady/profile/logic/myFilesLogic.php   Download  
File: uploady/profile/logic/myFilesLogic.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Uploady PHP Upload File to MySQL
Store file upload details in a MySQL database
Author: By
Last change: Update of uploady/profile/logic/myFilesLogic.php
Date: 4 months ago
Size: 293 bytes
 

Contents

Class file image Download
<?php
$upload
= new \Uploady\Handler\UploadHandler($db);

$files = $upload->getFilesById($_SESSION['user_id']);

$files_info = [];

foreach (
$files as $file) {
   
array_push($files_info, json_decode($file->file_data, true));
}

$page = 'myFiles';
$title = $lang["general"]['my_files_title'];