php-zip-archive

APNs “Extracting push notification package failed”

大憨熊 提交于 2020-12-12 18:01:31
问题 I followed the manual https://developer.apple.com/notifications/safari-push-notifications/. I use the PHP script to generate the required archive. It is created and downloaded (the structure of the elements is the same as in the manual). all my 'Web Service Endpoints' processing results give the code 200' webServiceURL/version/pushPackages/websitePushID' generates the necessary archive on the download (application/zip for the Content-type header is present) safari downloads it already

PHP ZipArchive dont support UTF8 files for open

流过昼夜 提交于 2019-12-02 10:48:10
问题 PHP ZipArchive dont support UTF8 files for open my problem is OPEN files with UTF8 name. ZipArchive dont open files with UTF8 character. i dont add new file i need only open file. php: 5.6 and Use Yii2. code: $path = "files/تست تست.zip"; $zip = new \ZipArchive(); if($zip->open($path) === true) { return "File opened"; } else { return "File could not be opened"; } 回答1: Sorry about marking this as a duplicate for an unrelated issue. I'm able to open UTF-8 zip files without a problem using PHP 5