![]() ![]() ![]() Header('Content-disposition: attachment filename='. Here's the code handling the zip, on the top of the file: open($zipname, ZipArchive::CREATE) Warning: unlink(unstraight.zip): No such file or directory in /Users/johannaskogh/Desktop/workspace/olivia_schough/wp-content/themes/schoughs/page-research.php on line 19 Warning: readfile(unstraight.zip): failed to open stream: No such file or directory in /Users/johannaskogh/Desktop/workspace/olivia_schough/wp-content/themes/schoughs/page-research.php on line 18 ![]() Warning: Cannot modify header information - headers already sent by (output started at /Users/johannaskogh/Desktop/workspace/olivia_schough/wp-content/themes/schoughs/page-research.php:16) in /Users/johannaskogh/Desktop/workspace/olivia_schough/wp-content/themes/schoughs/page-research.php on line 16 Warning: filesize(): stat failed for unstraight.zip in /Users/johannaskogh/Desktop/workspace/olivia_schough/wp-content/themes/schoughs/page-research.php on line 16 When I open the file in a text editor I get following error messages: It might have something to do with the fact that I use WordPress, because I tried this before without it and then it worked fine. In my code this works fine, but when I'm trying to unzip it, it unzips to. I have this page where you're going to be able to download multiply files to a zip.
0 Comments
Leave a Reply. |