Jan-Sebastian Fabík
Jan-Sebastian Fabík
I don't think so. I've tried this code ``` php umask(0777); $file = __DIR__ . '/test.txt'; touch($file); chmod($file, 0777); ``` and it worked, so the [example](http://php.net/manual/en/function.umask.php#example-2413) in the PHP doc...
Well, that's great! I'll create a pull request that adds chmod() to FileStorage.
I use the same cache storage for web and its CLI. The web server runs on a different user than CLI, but both users are in the same group. So,...
Yes, it is more secure. For instance, the CLI user has access to the backup directory, which I don't want to be accessible via web server user.
I've got an idea: We can make all signals protected by default. And if I somebody doesn't want it, they could use an annotation `@unprotected`. And the same thing will...
Nevíš, jak na to? Ten test by asi musel běžet na webserveru, protože do `php://input` se zapisovat nedá.
Tohle funguje. ``` class StringStream { /** @var string */ public static $string; /** @var int */ protected $offset = 0; public function stream_open() { return true; } public function...
Testoval jsem to u sebe, fileinput byl první a přesto se data zachránila, zvláštní. Mám takový pocit, že browser tam ta ostatní data posílá ještě před souborem.
Nevíte někdo, jak nejlépe porovnávat objekty `FileUpload`?
Pravda, to mě nenapadlo.