Error on using Chilkat.Zip2
Can anybody please let me know, i have used the below code to access COM object...
$zip = new COM("Chilkat.Zip2");
echo $zip;
but, which shows an like this...
Fatal error: Uncaught exception 'com_exception' with message 'Failed
to create COM object `ZipActiveX': Invalid syntax ' in
D:\xampp\htdocs\test\testscript1.php:2 Stack trace: #0 D:\xampp\htdocs\test\testscript1.php(2): com->com('ZipActiveX')
#1 {main} thrown in D:\xampp\htdocs\t开发者_JAVA技巧est\testscript1.php on line 1
please advice me, that do i need to change anything in my php.ini file to access COM?
shut down apache and start in administrator mode if using windows vista or 7.
edited: chillkat zip activex is for windows server. you can download and install from this url http://www.chilkatsoft.com/download/ZipActiveX.msi
run webserver in windows using xampp adn run locally
xampp download url: http://www.apachefriends.org/en/xampp.html
精彩评论