SkillAgentSearch skills...

Phpfsplit

A php function to split a given file to parts based on the specified buffer size

Install / Use

/learn @ManZzup/Phpfsplit
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

phpfsplit : File Splitter function for php

A php function to split a given file to parts based on the specified buffer size.

How to use?

  1. Include phpfsplit.php
  2. Use fsplit($filename,$buffer)
fsplit($filename, $buffer)

$filename : path to the file that should be splitted (ex: files/myfile.jpg)

$buffer : size of a part of a file. Defined in BYTES. Default is 1kb(== 1024) (ex: 4096 for 4kb)

return : array of string ; the paths to the splits

Splits are named as filename.part0 filename.part1 ...

Related Skills

View on GitHub
GitHub Stars12
CategoryProduct
Updated3y ago
Forks3

Languages

PHP

Security Score

60/100

Audited on Apr 3, 2023

No findings