This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // PHP sample code to show multipart file upload using the B2 Native API | |
| // User supplies optional -v for verbose output from curl, then bucket name | |
| // and path to local file | |
| $rest_index = null; | |
| $opts = getopt("v::", [], $rest_index); | |
| $args = array_slice($argv, $rest_index); |