README.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. _ _ _ _ __ __
  2. | | | | | | | | | \/ |
  3. | | | |_ __ | | ___ __ _ __| | | \ / | __ _ _ __ __ _ __ _ ___ _ __
  4. | | | | '_ \| |/ _ \ / _` |/ _` | | |\/| |/ _` | '_ \ / _` |/ _` |/ _ \ '__|
  5. | |__| | |_) | | (_) | (_| | (_| | | | | | (_| | | | | (_| | (_| | __/ |
  6. \____/| .__/|_|\___/ \__,_|\__,_| |_| |_|\__,_|_| |_|\__,_|\__, |\___|_|
  7. | | __/ |
  8. |_| |___/
  9. ==============================================================================
  10. ArOZ Upload Manager - ArOZ Online BETA System Module
  11. # Introduction
  12. The ArOZ upload Manager provide a simple to use interface for module developer
  13. to upload files into their system with a simple API call. The files will be
  14. uploaded to the target module's uploads/ folder.
  15. # Upload Target
  16. The upload target directory will be the "uploads/" folder inside the target
  17. directory. For example, if the target is set to "example", the upload target
  18. will be: example/uploads/files.ext
  19. # API
  20. The API of this module is as follow:
  21. Upload Manager/upload_interface.php?target=module_dir&reminder=reminder_text:)
  22. &filetype=ext1,ext2,ext3&finishing=process_handler.php
  23. module_dir is the directory you put your modules. For example, if your module is
  24. placed under "module/index.php", then you put "target=module" here.
  25. reminder_text is the reminder that you want to pop out before letting user to upload
  26. files. Left empty for not poping out any reminder.
  27. ext1,ext2,ext3 are the file types that user is allowed to upload to the server side.
  28. file extensions are seperated with "," and with no space in between.
  29. DO NOT LEFT THIS EMPTY.
  30. process_handler.php is the post processing php that is located inside your module.
  31. For example, if your module is placed under "module/index.php", then you have to put
  32. the post processing php under "module" also. (i.e. module/process_handler.php")
  33. This variable can be left unset for redirecting back to the target module's index after
  34. the uploading process has been finished.
  35. (C)IMUS Laboratory 2016-2017
  36. Licensed under (CC) NC-ND