I have a script that checks a zipfile containing a number of matching PDF+textfiles. I want to unpack, or somehow read the textfiles from the zipfile, and just pick out some
There are a lot of overkill answers to this question. One simple answer would be:
$tempdir = tempnam(sys_get_temp_dir()) . 'dir'; mkdir($tempdir);