/    Sign up×
Community /Pin to ProfileBookmark

Find files in a folder based on user input

Hey guys,

Ik have a folder that contains multiple .pdf-files.
Every file starts with a date. I would like to select a date with three drop-downs. If the date is set it must show every file with that date.

I created the three drop-downs with the select-tag. Now the input must be put together and after that it must find the files.

So this is what I have ’till now:

-Three drop-downs.
-searched Google and figured that I must use the glob() function to find the files.

Problem is I don’t know how!

Please help me!!?

to post a comment
PHP

0Be the first to comment 😎

×

Success!

Help @Interactive1984 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...