note 94226 added to function.ziparchive-open

From: Date: Fri, 23 Oct 2009 10:29:32 +0000
Subject: note 94226 added to function.ziparchive-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-162007@lists.php.net to get a copy of this message
Further to what rickky at gmail dot com was saying, I've had that problem while trying to cache zip files and found that I had to set the permissions of the containing folder to 777 to get it to work. Because this is a potential security weakness if on a public viewable folder, I'd recommend moving the folder so that it is no longer within public_html. You can then use readfile() to output the archive to the browser, with some HTTP headers to tell the browser it is a zip file. ---- Server IP: 92.48.74.199 Probable Submitter: 83.67.57.87 ---- Manual Page -- http://www.php.net/manual/en/function.ziparchive-open.php Edit -- https://master.php.net/note/edit/94226 Del: integrated -- https://master.php.net/note/delete/94226/integrated Del: useless -- https://master.php.net/note/delete/94226/useless Del: bad code -- https://master.php.net/note/delete/94226/bad+code Del: spam -- https://master.php.net/note/delete/94226/spam Del: non-english -- https://master.php.net/note/delete/94226/non-english Del: in docs -- https://master.php.net/note/delete/94226/in+docs Del: other reasons-- https://master.php.net/note/delete/94226 Reject -- https://master.php.net/note/reject/94226 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#162007) next »