Alexander Grigorev
Alexander Grigorev
you can do it like this, but it's not very nice ```php var_dump($archive[$archive->getListFiles()[$id]]); ```
for example, I list all the files in the archive and I make links to the file view, for this, I need to transfer the file name in the path,...
I did as you advised, but it's not very convenient https://github.com/visavi/rotor/blob/master/app/Controllers/Load/DownController.php#L323 https://github.com/visavi/rotor/blob/master/resources/views/load/zip.blade.php#L24
structure should be like this ``` sql CREATE TABLE `jobs` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(100) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; CREATE TABLE `exports`...
 before and after
use $this -> setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); a good practice to turn off the production output of the error for example, you can use this component https://github.com/vlucas/phpdotenv
I think everything is clearly stated, I do not even know how to reassign https://github.com/jpfuentes2/php-activerecord/blob/b2ed6fc64ef35c88fd30d71091df0d0765719901/lib/Connection.php#L64
SELECT \* FROM awesome_people **WHERE author_id=?' contains "**WHERE author_id IN(?,?)
Они там что-то замутили с защитой, подозрительные и неверные запросы сразу же банятся по IP (или еще как-то) Используйте прокси, подменяйте Referer итд это все есть в примерах Проверил все...
Не понял вопрос Я проверял данное api В директории example есть уже готовые примеры, можно там потыкать, все работает