Menu

Can't decode

Help
2002-05-17
2002-07-30
  • Nobody/Anonymous

    Hi,

    I have successfully compile the microcode.so. Have
    also managed to done the purify and encode. But now, I have problem in decoding. When I tried to run the display.php (refer to below), the browser simply gets hang with nothing on the screen. Why is this so?

    My encoding process is as follows:
    1. purify the test.php example found in the encoder directory - purify test.php purify-test.php.
    2. encode the purified script - encode purify-test.php enc-test.php 20
    3. create a display.php file as follows:
    <?PHP
    databay_microcode_include("enc-test.php");
    ?>
    - I have place the microcode.so at the extension directory.

    Now, when I try to execute this file (display.php), the browser hangs.

    Is the server trying to look for the key? Wouldn't it prompt any sort of error if key is missing or not found? Is the key compiled into the microcode.so or is it supposed to be placed in /etc/microcode/default.key?

    Would greatly appreciate it if someone can help me on this.

    Thanks and best regards,
    Tina

     
    • Piotr Drozdowski

      see my another thread:
      https://sourceforge.net/forum/message.php?msg_id=1566955

      I can't resolve this without help too. I'm sure "krichter" ( Karsten Richter ) can help :))

      Piotr D.

       
    • Karsten Richter

      Karsten Richter - 2002-06-17

      Hi folks,

      first of all: sorry for delay,

      I am currently quite busy with other projects, and did
      not have time to care for this problem.

      A first test of microcode on PHP 4.2.1 lead to the same problem, seems to be a bug. (Versions up to 4.1.0 are definitely working!)

      I am currently working on it.

      Added a Bug Report (request #570100) revisit SourceForge page for fixes...

      Regards

      Karsten Richter

       
    • Nobody/Anonymous

      Warning: Invalid library (maybe not a PHP library) 'microcode.so' in /var/www/html/test2.php on line 2

      I conpile it myself

      -phpize
      -make

      then copy microcode.so to extensions folder.

      I call microcode.so with:
      dl("microcode.so");

       

Log in to post a comment.

MongoDB Logo MongoDB