View Full Version : Dynamic Commenting Question...
Hi there,
I want to create a system similar to vBulletin for dynamically commenting my PHP scripts. I want to be able to include a licence number, file revision number, file downloaded etc. However, I scanned a couple of online PHP ZIP streaming classes, and couldn't come up with anything. Does anyone know something that would get this sort of job done?
Thanks :D
http://us2.php.net/ZIP
Everything you need is there.
Thanks Tomm :)
However, php_zip.dll is added in my php.ini file, yet the example scripts on the manual aren't working. Do I need to install the PECL extention too? The instructions weren't that clear... :P
Check phpinfo to make sure its loaded. Are you using PHP4 or PHP5?
Thanks Tomm :)
However, php_zip.dll is added in my php.ini file, yet the example scripts on the manual aren't working. Do I need to install the PECL extention too? The instructions weren't that clear... :P
It's loaded, and I'm running PHP 5.1 (I need to update, I know :P). As I said earlier, I just copied and pasted the sample script, however, it begins with this line:
$zip = new ZipArchive();
Is that going to work with an extention. I'm getting errors about there not being a class by the name of 'ZipArchive', which I can understand, considering I'm used to that syntax being used to instantite a class...
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.