informatique:php:tips
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
informatique:php:tips [25/02/2021 18:29] – [Wake On Lan (WOL)] cyrille | informatique:php:tips [25/02/2021 20:08] (Version actuelle) – [Php side] cyrille | ||
---|---|---|---|
Ligne 178: | Ligne 178: | ||
=== Import gros fichier === | === Import gros fichier === | ||
- | Import | + | Upload |
+ | |||
+ | == Php side == | ||
- | Php side: | ||
* memory_limit | * memory_limit | ||
* upload_max_filesize | * upload_max_filesize | ||
* post_max_size | * post_max_size | ||
- | Nginx side: | ||
- | Client side chunking | + | To use with Laravel and JS libraries look at [[https:// |
+ | == Nginx side == | ||
+ | |||
+ | |||
+ | == Client side (chunking) == | ||
* javascript | * javascript | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | Cross-site chunked uploads: by default, browsers don't allow all headers used for cross-site file uploads, if they are not explicitly defined as allowed with the following server-side headers: | ||
+ | < | ||
+ | Access-Control-Allow-Headers Content-Type, | ||
+ | </ | ||
informatique/php/tips.1614274150.txt.gz · Dernière modification : 25/02/2021 18:29 de cyrille