note 126688 added to ziparchive.close

From: Date: Thu, 16 Dec 2021 14:22:21 +0000
Subject: note 126688 added to ziparchive.close
Groups: php.notes 
Request: Send a blank email to php-notes+get-217377@lists.php.net to get a copy of this message
I am not sure, but seems that $zip->close() can run into errors if the path specified in $zip->open is a relative path, not absolute. So, when create archives, please specify ABSOLUTE PATH, not relative path for zip file to be created. ---- Server IP: 45.112.84.4 Probable Submitter: 45.112.85.242 (proxied: 2a02:2f0d:d90c:9a00:7965:ad32:35e:191d) ---- Manual Page -- https://php.net/manual/en/ziparchive.close.php Edit -- https://main.php.net/note/edit/126688 Del: integrated -- https://main.php.net/note/delete/126688/integrated Del: useless -- https://main.php.net/note/delete/126688/useless Del: bad code -- https://main.php.net/note/delete/126688/bad+code Del: spam -- https://main.php.net/note/delete/126688/spam Del: non-english -- https://main.php.net/note/delete/126688/non-english Del: in docs -- https://main.php.net/note/delete/126688/in+docs Del: other reasons-- https://main.php.net/note/delete/126688 Reject -- https://main.php.net/note/reject/126688 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#217377) next »