plutomed Posted June 23, 2008 Share Posted June 23, 2008 $zip = zip_open("test.zip"); When I use this, how come I get the error: Fatal error: Call to undefined function: zip_open() in /<path>/zip.php on line 2 ??? Quote Link to comment Share on other sites More sharing options...
Jabop Posted June 23, 2008 Share Posted June 23, 2008 Because zip_open() is not a function that you have. Quote Link to comment Share on other sites More sharing options...
plutomed Posted June 23, 2008 Author Share Posted June 23, 2008 According to the php website for this function you need either: PHP 4 >= 4.0.7, PHP 5 >= 5.2.0, PECL zip:1.0-1.9.0 And I have: PHP version 4.4.7 Quote Link to comment Share on other sites More sharing options...
Jabop Posted June 23, 2008 Share Posted June 23, 2008 Do you have the extension loaded? Quote Link to comment Share on other sites More sharing options...
plutomed Posted June 23, 2008 Author Share Posted June 23, 2008 How do I know if the extension is loaded? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.