Page 1 of 1

Loop through a folder of files in symfony

Posted: Wed Mar 23, 2016 11:15 am
by sobha
Hi,

I am new to phpsymfony and need help in :

1.Loop through a folder of files.
- Each filename is built up as: customerid_invoiceid.pdf
- Extract these id's
For example:files are stored in "c:/PDF/ customerid1_invoiceid1.pdf and so on
Can you please help me on how to do this using symfony?

Re: Loop through a folder of files in symfony

Posted: Wed Mar 23, 2016 12:07 pm
by Celauran