PHP 8.5.0 Alpha 4 available for testing

Voting

: max(three, three)?
(Example: nine)

The Note You're Voting On

m021 at springtimesoftware dot com
14 years ago
If you have created a zip file and added a file to it without error, yet the ZipArchive::close call fails (with ER_TMPOPEN: "Failure to create temporary file") and the zip file is not created, check to see if your ZipArchive::open call specifies a pathname containing nonexisting directories. If you expect a containing hierarchy of one or more directories, you must create them yourself before using using ZipArchive. You can write a simple function to recurse using dirname to find each parent directory, creating those that don't exist by using mkdir when leaving the recursion.

<< Back to user notes page

To Top