Chikwado Posted September 7, 2015 Share Posted September 7, 2015 (edited) I have try using code below to open a lumonous syntax highligt library but was not successfull <?php $zip = zip_open(luminous-v0.7.0.zip); zip_read($zip); //Some code zip_close($zip); ?> The code is not returning error or success, Can some one help explain more? Edited September 7, 2015 by Chikwado Link to comment Share on other sites More sharing options...
thescientist Posted September 8, 2015 Share Posted September 8, 2015 I don't see you turning error reporting on and I don't see where you are creating a new instance of ZipArchive. Also, how are you testing for success / failure of the open method? http://php.net/manual/en/ziparchive.open.php Also, your formatting (lack of returns between lines) makes your code hard to read. I would recommend you post with proper formatting so it's easier for other users to follow along. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now