You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
1
(3) |
2
(9) |
3
(1) |
4
(3) |
|
5
|
6
(3) |
7
(2) |
8
(3) |
9
(2) |
10
(1) |
11
|
|
12
(1) |
13
(9) |
14
(6) |
15
(7) |
16
(8) |
17
|
18
|
|
19
|
20
(2) |
21
(2) |
22
(5) |
23
|
24
(6) |
25
(2) |
|
26
|
27
(3) |
28
|
29
(1) |
30
(4) |
31
(2) |
|
|
From: <php...@li...> - 2007-08-24 16:00:14
|
I'm afraid I don't see how this helps. (My use of a String was only an
attempt to more simply demonstrate the problem.) I'm using a class that
takes a byte array and gives a byte array:
protected byte[] data;
public byte[] getData() {
return data;
}
public void setData(byte[] value) {
this.data =3D value;
}
And this is basically how I'm testing it:
$file =3D file_get_contents('foo.pdf');
$javaObject->setData($file);
$output =3D $javaObject->getData();
strcmp($file, $output);
=09
And the bytes coming out of the getData() method are different from the
bytes going into the setData() method. Sorry for being so dense on
this.
Thanks,
Jonathan
=20
> -----Original Message-----
> From: php...@li...=20
> [mailto:php...@li...]=20
> On Behalf Of php...@li...
> Sent: Friday, August 24, 2007 11:32 AM
> To: php...@li...
> Subject: Re: [Php-java-bridge-users] Bytes are getting=20
> mistranslated somewhere
>=20
> Hi,
>=20
> > $bytes =3D $string->getBytes();
>=20
> getBytes() depends on the LOCALE. Please see your Java=20
> documentation for details.
>=20
>=20
> Please use $string->getBytes("ENCODING") or use=20
> java_values($string) instead. java_values() uses
> the file encoding set with java_set_file_encoding(), default is UTF-8.
>=20
> Please see the README and the java_set_file_encoding() for details.
>=20
>=20
> Regards,
> Jost Boekemeier
>=20
>=20
>=20
> __________________________________ =20
> Alles was der Gesundheit und Entspannung dient. BE A BETTER=20
> MEDIZINMANN! www.yahoo.de/clever
>=20
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and=20
> a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> php-java-bridge-users mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
>=20
>=20
|
|
From: <php...@li...> - 2007-08-24 15:31:51
|
Hi,
> $bytes = $string->getBytes();
getBytes() depends on the LOCALE. Please see your Java documentation for details.
Please use $string->getBytes("ENCODING") or use java_values($string) instead. java_values() uses
the file encoding set with java_set_file_encoding(), default is UTF-8.
Please see the README and the java_set_file_encoding() for details.
Regards,
Jost Boekemeier
__________________________________
Alles was der Gesundheit und Entspannung dient. BE A BETTER MEDIZINMANN! www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-08-24 15:27:34
|
Greetings, all--
I'm trying to use an object which sets and gets a byte array, and I
noticed that the bytes I put in are different from the bytes I get out.
I was able to narrow down the problem to this brief script:
$file =3D file_get_contents("fw4.pdf");
$string =3D new Java("java.lang.String", $file);
$bytes =3D $string->getBytes();
echo strcmp($file, $bytes);
I read a binary file in (available at
http://www.irs.gov/pub/irs-pdf/fw4.pdf), put it into a Java string, and
spit out the bytes. That comparison returns -1, not equal. (For what
it's worth, when I just echo the file_get_contents(), the data comes out
fully parseable, and identical to the source file.)
I also tried to read the file in with a FileInputStream and output it
immediately to a ByteArrayOutputStream (which takes forever, by the way)
and got the same result:
$phpfile =3D file_get_contents("fw4.pdf");
$file =3D new Java('java.io.File', 'fw4.pdf');
$inputStream =3D new Java('java.io.FileInputStream', $file);
$outputStream =3D new Java('java.io.ByteArrayOutputStream');
=09
while ($inputStream->available()) {
$outputStream->write($inputStream->read());
}
$bytes =3D $outputStream->toByteArray()
=09
echo strcmp($phpfile, $bytes);
Any help on the proper handling of byte arrays would be greatly
appreciated.
Thanks,
Jonathan Abbett
|
|
From: <php...@li...> - 2007-08-24 15:24:23
|
Hi, > version 4.1.8 with PHP 5.2.0. It appears that an updated version of > PHP 5 will be needed to install and run v. 4.1.8 (PHP 5.2.2). the API function that is used to compile the Java.inc PHP code to PHP byte code, "zend_compile_string()", was not available in earlier versions of PHP 5. > However > I was able to compile PHP/Java Bridge version 4.1.7 for PHP 5.2.0 Earlier versions of the PHP/Java Bridge used to use an extension, coded in C. We have dropped this C extension in favor of a pure PHP implementation which runs on any platform. The only disadvantage of the pure PHP implementation is that the Java VM doesn't start automatically with the Apache or IIS server. One needs to start an external Java VM as described in IBM's tutorial: http://www.ibm.com/developerworks/aix/library/au-javaphpaix5/ Regards, Jost Boekemeier ________ Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever |
|
From: <php...@li...> - 2007-08-24 13:22:15
|
Hello all, :) I need a php-java-bridge package for debian sarge and can not find a deb for sarge. Where can I get it? Can someone help? tia stefan |
|
From: <php...@li...> - 2007-08-24 12:54:50
|
Hello Ferran, I had that same issue when trying to install the PHP/JAVA bridge version 4.1.8 with PHP 5.2.0. It appears that an updated version of PHP 5 will be needed to install and run v. 4.1.8 (PHP 5.2.2). However I was able to compile PHP/Java Bridge version 4.1.7 for PHP 5.2.0 following the instructions provided in the binary README file. On Aug 22, 2007, at 12:42 PM, php-java-bridge-users- re...@li... wrote: > Ferran. |