Re: [PHP] scandir doesn't find all files

2013-06-22 Thread Ken Robinson
Sent from my iPhone On Jun 22, 2013, at 3:10 PM, Daniel Pöllmann poellmann.dan...@gmail.com wrote: Hi, I have some files in a directory - some are uploaded via ftp and some other are created by a php script. Scandir just finds the uploaded files, but none of the created files. I can't

Re: [PHP] scandir doesn't find all files

2013-06-22 Thread Ken Robinson
Did you try the glob function? http://php.net/glob Ken Sent from my iPhone On Jun 22, 2013, at 3:10 PM, Daniel Pöllmann poellmann.dan...@gmail.com wrote: Hi, I have some files in a directory - some are uploaded via ftp and some other are created by a php script. Scandir just finds the

Re: [PHP] scandir doesn't find all files

2013-06-22 Thread Tamara Temple
Daniel Pöllmann poellmann.dan...@gmail.com wrote: I have some files in a directory - some are uploaded via ftp and some other are created by a php script. Scandir just finds the uploaded files, but none of the created files. I can't run chown() because the server is part of shared hosting.