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édente | Dernière révisionLes deux révisions suivantes | ||
informatique:php:tips [25/02/2021 18:29] – [Import gros fichier] cyrille | informatique:php:tips [25/02/2021 18:31] – [Import gros fichier] cyrille | ||
---|---|---|---|
Ligne 180: | Ligne 180: | ||
Upload large file. | Upload large file. | ||
- | 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 | + | == 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.txt · Dernière modification : 25/02/2021 20:08 de cyrille