|All requests||>||file php class pdo||>||Request new recommendation||>||Featured requests||>||No recommendations|
by IvŠn Goded Carrete - 4 years ago (2017-03-01)
I need manipulate files using PDO.
3. by victor - 4 years ago (2017-03-20) Reply
PDO use SQLite for embbed database in file
2. by Manuel Lemos - 4 years ago (2017-03-20) Reply
PDO is mainly for SQL databases but I guess there could be a driver class that would manipulate files depending on whether the queries would be of INSERT (create new file), SELECT (lists files), UPDATE (change files) and DELETE (remove files).
Files could be of one virtual table that would list file records like file name, contents, creation and modification date, etc..
1. by Luis Martinez Ulloa - 4 years ago (2017-03-04) Reply
Hello Ivan: How do you need to manipulate? which kind of operations over files do you need to use?
You can manage file by using this class https://www.phpclasses.org/package/10621-PHP-Manipulate-files-and-directories-in-several-ways.html This package can manipulate files and directories in several ways.
It can perform several types of operations. Currently it can:
you may use this as a good starting point.
you could easily manage files with this class, it includes following operation 1.create 2.rename 3.delete 4.make directory it uses GUI to make file managing easier