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
|
2
(1) |
3
(1) |
4
(7) |
5
(1) |
6
|
7
|
|
8
|
9
|
10
(3) |
11
(1) |
12
(1) |
13
|
14
|
|
15
(1) |
16
(6) |
17
(6) |
18
(4) |
19
|
20
|
21
|
|
22
|
23
(2) |
24
|
25
|
26
(3) |
27
(6) |
28
(3) |
|
29
|
30
(3) |
|
|
|
|
|
|
From: <php...@li...> - 2007-04-27 22:55:50
|
Hi there --
Ok, I've been working on this a bit today, reading about how classes
constructs are represented in Java and trying to understand the
documentation itself regarding java.security.MessageDigest and I'm just
not sure why it's not liking the update() call. Here's the code
evolution so far:
$password =3D new Java("java.lang.String","admin");
$md =3D new Java("java.security.MessageDigest");
$algorithm =3D $md->getInstance("md5");
$reset =3D $algorithm->reset();
$update =3D $md->update($password->getBytes());
$digest =3D $md->digest();
$out =3D new Java("java.io.ByteArrayOutputStream");
$encoder =3D new Java("javax.mail.internet.MimeUtility");
$encoder->encode($out,"base64");
$encoder->write($encrypted);
$encoder->flush();
$the_return =3D new Java("java.lang.String",$out->toByteArray());
echo "output: ".$the_return->trim();
It tosses an exception at the $update call:
javax.servlet.ServletException: PHP Fatal error: Uncaught
[[o:Exception]:"java.lang.Exception: Invoke failed:
[[c:MessageDigest]]->update([o:array_of_B]). Cause:
java.lang.NoSuchMethodException: update([o:array_of_B]). Candidates: []
Responsible VM: 1.5.0_09@http://java.sun.com/" at:
#-5 php.java.bridge.JavaBridge.Invoke(JavaBridge.java:1106)
#-4 php.java.bridge.Request.handleRequest(Request.java:342)
#-3 php.java.bridge.Request.handleRequests(Request.java:388)
#0 /usr/java/tomcat-5.5/webapps/JavaBridge/test_string.php(24):
Java->__call('update', Array)
#1 /usr/java/tomcat-5.5/webapps/JavaBridge/test_string.php(24):
Java->update(Object(JavaArray))
#2 {main}]
thrown in /usr/java/tomcat-5.5/webapps/JavaBridge/test_string.php on
line 24
php.java.servlet.PhpCGIServlet.doGet(PhpCGIServlet.java:362)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Upon printing $password->getBytes() to the screen it simply resolves,
naturally, to admin. This is correct, I assume, as it's just supposed
to change the series of bytes to the systems character set. =20
So, what is deal?=20
Thanks in advance,
Kate
-----Original Message-----
From: php...@li...
[mailto:php...@li...] On Behalf
Of php...@li...
Sent: Friday, April 27, 2007 2:36 AM
To: php...@li...
Subject: Re: [Php-java-bridge-users] PHP Java Translation Help
Hi,
> algorithm.update(password.getBytes());
> $str =3D new Java('java.lang.String');
> $algorithm->update($str->getBytes($password));
the above PHP code creates a zero-length String and
then calls "".getBytes(<password>). The getBytes()
function needs a symbol as its argument or no argument
at all, not a password. :)
Your Java code translated into PHP is:
<?php
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
$password=3Dnew String("$passwd");
$algorithm=3Djava("java.security.MessageDigest")->getInstance(ENCRYPTION_=
T
YPE);
$algorithm->reset();
$algorithm.update($password->getBytes());
$encrypted =3D $algorithm->digest();
$out =3D new java("java.io.ByteArrayOutputStream");
$encoder =3D
java("javax.mail.internet.MimeUtility")->encode(out,
ENCODING_TYPE);
$encoder->write(encrypted);
$encoder.flush();
return new String(out.toByteArray());
?>
(not tested)
Regards,
Jost Boekemeier
__________________________________ Yahoo! Clever: Sie haben
Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2007-04-27 17:14:31
|
I don't have much experience on Linux. I got this problem when
installing java bridge on my linux box. The failed dependencies
indicates it could not find php but I do have php 5.2.0. Could some one
gives me an suggestion.
Sudo -s
#rpm --import RPM-GPG-KEY
# rpm -i php-java-bridge-3.2.1-1.FC6.i386.rpm=20
error: Failed dependencies:
libgcj.so.7rh is needed by php-java-bridge-3.2.1-1.i386
php >=3D 5.1.1 is needed by php-java-bridge-3.2.1-1.i386
rtld(GNU_HASH) is needed by php-java-bridge-3.2.1-1.i386
|
|
From: <php...@li...> - 2007-04-27 15:38:37
|
This I did not know, so thank you.
--Kate
-----Original Message-----
From: php...@li... =
[mailto:php...@li...] On Behalf =
Of php...@li...
Sent: Friday, April 27, 2007 2:39 AM
To: php...@li...
Subject: Re: [Php-java-bridge-users] PHP Java Translation Help
Hi again,
BTW:
> } catch (Exception $e) {
>=20
> print_r($e); // for debugging purposes
> return "<br>Bad Encryption";
The PHP Exception objects already provide a suitable
__toString() method.=20
The output from print($e) is much more readable than
the output from print_r($e), which prints the internal
state of the exception object.
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? =
Versuchen Sie=B4s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
-------------------------------------------------------------------------=
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2007-04-27 15:38:09
|
Vielen Dank, Jost. This is very helpful :) This project is my
introduction to Java, so I'm learning how to interpret its default and
imported classes as I go along (and it's the concept of an interface
that is throwing me for a loop at the moment, at least regarding how to
represent this in php).
Question: this doesn't seem to be a php construct to me:
$algorithm.update($password->getBytes());
I will test what you sent to me below and attempt to reconstruct this,
but I thought I'd pose the question here of what this means in php
(specifically the period -- I understand this as a Java (and Javascript
and vbscript, etc) construct rather than the typical -> in php).
Thanks for your help,
Kate
-----Original Message-----
From: php...@li...
[mailto:php...@li...] On Behalf
Of php...@li...
Sent: Friday, April 27, 2007 2:36 AM
To: php...@li...
Subject: Re: [Php-java-bridge-users] PHP Java Translation Help
Hi,
> algorithm.update(password.getBytes());
> $str =3D new Java('java.lang.String');
> $algorithm->update($str->getBytes($password));
the above PHP code creates a zero-length String and
then calls "".getBytes(<password>). The getBytes()
function needs a symbol as its argument or no argument
at all, not a password. :)
Your Java code translated into PHP is:
<?php
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
$password=3Dnew String("$passwd");
$algorithm=3Djava("java.security.MessageDigest")->getInstance(ENCRYPTION_=
T
YPE);
$algorithm->reset();
$algorithm.update($password->getBytes());
$encrypted =3D $algorithm->digest();
$out =3D new java("java.io.ByteArrayOutputStream");
$encoder =3D
java("javax.mail.internet.MimeUtility")->encode(out,
ENCODING_TYPE);
$encoder->write(encrypted);
$encoder.flush();
return new String(out.toByteArray());
?>
(not tested)
Regards,
Jost Boekemeier
__________________________________ Yahoo! Clever: Sie haben
Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever
------------------------------------------------------------------------
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
php-java-bridge-users mailing list
php...@li...
https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users
|
|
From: <php...@li...> - 2007-04-27 09:39:17
|
Hi again,
BTW:
> } catch (Exception $e) {
>
> print_r($e); // for debugging purposes
> return "<br>Bad Encryption";
The PHP Exception objects already provide a suitable
__toString() method.
The output from print($e) is much more readable than
the output from print_r($e), which prints the internal
state of the exception object.
Regards,
Jost Boekemeier
Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail
|
|
From: <php...@li...> - 2007-04-27 09:36:25
|
Hi,
> algorithm.update(password.getBytes());
> $str = new Java('java.lang.String');
> $algorithm->update($str->getBytes($password));
the above PHP code creates a zero-length String and
then calls "".getBytes(<password>). The getBytes()
function needs a symbol as its argument or no argument
at all, not a password. :)
Your Java code translated into PHP is:
<?php
require_once("http://localhost:8080/JavaBridge/java/Java.inc");
$password=new String("$passwd");
$algorithm=java("java.security.MessageDigest")->getInstance(ENCRYPTION_TYPE);
$algorithm->reset();
$algorithm.update($password->getBytes());
$encrypted = $algorithm->digest();
$out = new java("java.io.ByteArrayOutputStream");
$encoder =
java("javax.mail.internet.MimeUtility")->encode(out,
ENCODING_TYPE);
$encoder->write(encrypted);
$encoder.flush();
return new String(out.toByteArray());
?>
(not tested)
Regards,
Jost Boekemeier
__________________________________ Yahoo! Clever: Sie haben Fragen? Yahoo! Nutzer antworten Ihnen. www.yahoo.de/clever
|