Php скрипт загрузки файлов | php script for file upload

Я долго не мог понять почему не могу загрузить файл на сервер и наконец нашел причину
Делюсь скриптом загрузки файлов

  • :white_check_mark: Требует X-API-Key заголовок
  • :white_check_mark: Проверка размера файлов
  • :white_check_mark: Ограничение по типам файлов
  • :white_check_mark: Безопасная генерация имен файлов
  • :white_check_mark: Корректная обработка multipart данных

For a long time I couldn’t understand why I couldn’t upload a file to the server and finally found the reason
I’m sharing a file upload script

  • :white_check_mark: Requires X-API-Key header
  • :white_check_mark: File size check
  • :white_check_mark: File type limit
  • :white_check_mark: Safe file name generation
  • :white_check_mark: Correct processing of multipart data


uploadFilePhp.zip (8.9 KB)


Back to Flipabit >
Copyright © 2018. Flipabit Team. All rights reserved.