S
S
SolidSnake132020-01-24 03:36:13
PHP
SolidSnake13, 2020-01-24 03:36:13

How to get all files with .jpg extension from a folder?

I need to take all the .jpg files from the images folder and put them into an array. How can I do that? Does this require JS, PHP or NODEJS?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2020-01-24
@SolidSnake13

https://www.php.net/manual/ru/function.glob.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question