Dezarhivare fisier in PHP

postat acum 11 luni de Stefanescu Mihai in categorie Snippets
$zip = zip_open("zip.zip");
if (is_resource($zip)) {
  while ($zip_entry = zip_read($zip)) {
    $fp = fopen("zip/".zip_entry_name($zip_entry), "w");
    if (zip_entry_open($zip, $zip_entry, "r")) {
      $buf = zip_entry_read($zip_entry, zip_entry_filesize($zip_entry));
      fwrite($fp,"$buf");
      zip_entry_close($zip_entry);
      fclose($fp);
    }
  }
  zip_close($zip);
}

 

Sunt un tanar programator din Bucuresti ce lucreaza in PHP/Mysql (MySqli/PDO), Laravel, CodeIgniter, MySQL, PostgreSQL, Wordpress, HTML5/CSS3, Sass, Photoshop si multe altele.
Google+ Community Facebook Group

Comentariu postate de g la data de 13.05.2019
It's hard to find knowledgeable people on this topic, however, you sound like you know what you're talking about! Thanks
Comentariu postate de how to download minecraft free la data de 15.05.2019
Hi there! I could have sworn I've been to your blog before but after looking at some of the posts I realized it's new to me. Anyways, I'm certainly happy I came across it and I'll be book-marking it and checking back regularly!
Comentariu postate de minecraft download for free la data de 17.05.2019
Hello would you mind sharing which blog platform you're working with? I'm looking to start my own blog soon but I'm having a hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your layout seems different then most blogs and I'm looking for something unique. P.S My apologies for being off-topic but I had to ask!
Comentariu postate de download minecraft free la data de 17.05.2019
Having read this I believed it was very informative. I appreciate you finding the time and effort to put this information together. I once again find myself personally spending way too much time both reading and posting comments. But so what, it was still worthwhile!