CAPICOM or OpenSSL

Discussion in 'HTML / PHP / JavaScript / CSS' started by Bruce, Feb 9, 2009.

  1. Bruce

    Bruce DiscountASP.NET Staff

    OpenSSL is not supported.

    I never tried using CAPICOM on our service with PHP.

    To be honest, we have very limited knowledge w/ PHP, its just installed on the server for people who want to migrate their php app to asp.net.
     
  2. Ineed to be able to use either OpenSSL or CAPICOM from a php script. Is it possible to install OpenSSL or be able to call CAPICOM from a script? I triedto instantiate aCAPICOM object locally using:

    <?php
    $CS = new COM ("CAPICOM.SignedData");
    if ($CS)
    echo("PASS");
    else
    echo("FAIL");

    which worked OK, but when uploaded to the web site I received the following error:

    Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `CAPICOM.SignedData': Invalid syntax ' in E:\...\test.php:2 Stack trace: #0 E:\...\test.php(2): com->com('CAPICOM.SignedD...') #1 {main} thrown in E:\...\test.php on line 2

    Any help would be appreciated. Thanks!
     

Share This Page