Re: [PHP] json stream filter

2013-06-22 Thread Larry Garfield
On 06/20/2013 04:26 AM, Markus Staab wrote: Hi! first post on the list, so please bare with me ;-) we are handling a lot of cache files in our apps and use json to persist those contents on the filesystem, because it seems to be the fastest possible way to read/write files with PHP. Since I di

Re: [PHP] json stream filter

2013-06-22 Thread Tamara Temple
Markus Staab wrote: > first post on the list, so please bare with me ;-) No, I'm getting nekkee with you... :) > we are handling a lot of cache files in our apps and use json to persist > those contents on the filesystem, because it seems to be the fastest > possible way to read/write files with

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

2013-06-22 Thread Tamara Temple
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 o

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 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

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 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 th

[PHP] scandir doesn't find all files

2013-06-22 Thread Daniel Pöllmann
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 doc