Error when zipping
Posted: Wed Feb 27, 2008 11:12 am
I get a Parse error: syntax error, unexpected ')', expecting '(' in xxx on line 43
When i run a php file that creates a zip file. Then line that the error ocures in is
Now i have a test server on my computer that runs php 5 and the version on the server where my domain is the version is php 4. I guess that there is a problem there. Can anyone help in any way?
When i run a php file that creates a zip file. Then line that the error ocures in is
Code: Select all
if ($zip->open($filename, ZIPARCHIVE::CREATE)!== TRUE) {
exit("cannot open <$filename>\n");
}