Lines Matching refs:directory
127 * @param string $outdir the target directory for extracting
146 $pos_entry = $cdir['offset']; // begin of the central file directory
153 $pos_entry = ftell($this->fh); // position of the next file in central file directory
168 // create output directory
170 $directory = ($header['folder']) ? $output : dirname($output);
171 @mkdir($directory, 0777, true);
383 // add info to central file directory
445 // add info to central file directory
475 // write central directory
480 // write end of central directory record
483 $this->writebytes(pack('v', 0)); // number of the disk with the start of the central directory
485 count($this->ctrl_dir))); // total number of entries in the central directory on this disk
486 $this->writebytes(pack('v', count($this->ctrl_dir))); // total number of entries in the central directory
487 $this->writebytes(pack('V', strlen($ctrldir))); // size of the central directory
489 $offset)); // offset of start of central directory with respect to the starting disk number
536 * Read the central directory