php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "Zip files"

Are there any potential pitfalls or security concerns to consider when allowing users to download multiple files at once in PHP, such as zip files or folders?

One potential security concern when allowing users to download multiple files at once in PHP is the risk of ZIP bomb attacks, where a small ZIP file e...

What is the best way to restrict file uploads to only zip files in PHP?

To restrict file uploads to only zip files in PHP, you can check the file type of the uploaded file using the `$_FILES` superglobal and restrict it to...

How can PHP's ZipArchive class be used to create and output ZIP files without saving them to the filesystem?

To create and output ZIP files without saving them to the filesystem using PHP's ZipArchive class, you can use the `php://output` stream to directly o...

How can PHP developers ensure cross-platform compatibility when extracting password-protected ZIP files?

When extracting password-protected ZIP files in PHP, developers can ensure cross-platform compatibility by using a library like PHPZip to handle the e...

How can PHP developers ensure proper handling and extraction of ZIP files on the server side for uploaded content?

When handling uploaded ZIP files on the server side in PHP, developers should use the PHP ZipArchive class to extract the contents of the ZIP file saf...

Showing 66 to 70 of 10000 results

‹ 1 2 ... 11 12 13 14 15 16 17 ... 1999 2000 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.