Creates a .zip and populates it with given content
Create an instance of BioToZip passing the following params in order:
- Desired name of the
.zipas a string - Content of the
.txtas a string - The URLs of the images as a string (separate the URLs with a space).
$fileName = "Green Candidate #1";
$summary = "Name: Shrek\nRole: Green Candidate";
$images = "https://images.moviepilot.com/images/c_limit,q_auto:good,w_600/m5xa5ajsxsflc2gbdy6k/shrek-credit-dreamworks-pictures.jpg http://shrekshrekshrek.weebly.com/uploads/3/1/0/9/31093949/2456051.jpg";
$generateZip = new BioToZip($fileName, $summary, $images);now there exists GreenCanidate1.zip relative to the directoy whre BioToZip.php is