开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜