I removed de <?php and ?> from source file and error message changed to:
Warning: Unexpected character in input: '' (ASCII=31) state=1 in /home/fernando/public_html/microcode/teste2.php(3) : databay-microcode-decrypt on line 1
Parse error: parse error in /home/fernando/public_html/microcode/teste2.php(3) : databay-microcode-decrypt on line 1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am still getting these kinds of errors with php-4.3.3. I can sucessfully encode and decode the files on the development machine, and I can load the .so file on the web page and display the phpinfo stuff indicating that the microcode library has been loaded but
I continue to get the parse errors.
Anybody got anymore ideas?
It would help me a great deal if somebody could post a working set of php files for testing, e.g. the setup I am trying to use is the following
file test.php contains
Parse error: parse error in databay on line 1
Parse error: parse error in /usr/local/apache/htdocs/index.php(2) : databay-microcode-decrypt on line 1
im getting the same error on .97 / php 4.1.2 on netbsd 1.6RC1
any info would be greatly appriciated
I too get the same error. I using php 4.2.3 with microcode .97
The microcode section appears normal in the phpinfo() page. The text output is below.
microcode
Databay AG Encryption Support enabled
Copyright Notice (C) 2001-2002 by Databay AG
Version V 0.97
Directive Local Value Master Value
enable_keyfile
0 0
keyfile
/etc/microcode/default.key /etc/microcode/default.key
Problem solved: You must remove the <?php and ?> tags from the source file before you use encoder.
TW
Problem solved: You must remove the <?php and ?> tags from the source file before you use encoder.
TW
I removed de <?php and ?> from source file and error message changed to:
Warning: Unexpected character in input: '' (ASCII=31) state=1 in /home/fernando/public_html/microcode/teste2.php(3) : databay-microcode-decrypt on line 1
Parse error: parse error in /home/fernando/public_html/microcode/teste2.php(3) : databay-microcode-decrypt on line 1
I am still getting these kinds of errors with php-4.3.3. I can sucessfully encode and decode the files on the development machine, and I can load the .so file on the web page and display the phpinfo stuff indicating that the microcode library has been loaded but
I continue to get the parse errors.
Anybody got anymore ideas?
It would help me a great deal if somebody could post a working set of php files for testing, e.g. the setup I am trying to use is the following
file test.php contains
<?PHP
dl("microcode.so");
databay_microcode_include("info_enc.php");
?>
where the file info_enc.php is the result of running
encoder info.php info_enc.php 20
on the file containing the single line
phpinfo();
Note that I have tried it with and without the <?PHP and ?> lines.