Re: [PHP] scandir doesn't find all files
Daniel Pöllmann 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. Please show code and output. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] scandir doesn't find all files
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 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 run chown() because the server is part of shared hosting. > > I can't find anything about this behavour in the documentation. > > Best wishes, > Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] scandir doesn't find all files
Sent from my iPhone On Jun 22, 2013, at 3:10 PM, Daniel Pöllmann 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 run chown() because the server is part of shared hosting. > > I can't find anything about this behavour in the documentation. > > Best wishes, > Daniel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] scandir doesn't find all files
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 run chown() because the server is part of shared hosting. I can't find anything about this behavour in the documentation. Best wishes, Daniel