php-general | 2000071
Date: 07/03/00
- Next message: Richard Lynch: "Re: [PHP] Netscape Trouble"
- Previous message: Richard Lynch: "Re: [PHP] can I parse text from other website ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster <email protected> and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
Look at the attached file.
Basically if you it all installed (compile with java, have jdk1.**
installed, and set up your php.ini) you should be able to access a java
class as you would a PHP class
$myclass = new Java("com.sun.whatever");
$myclass->property = "123456";
$foo = $myclass->method();
Look at the jver.php that comes with the java extensions to get started.
I've got a slightly newer version of this file on my laptop, just mail if
you want it.
Also if you are running windows and PHP 4.0.1 pl1 and JDK1.2.2 i have a
freshly compiled php_java.dll with some post 4.0.1 pl1 CVS changes. (Allows
the setting of properties and tidies up error messages). If you want it just
mail.
mn
-----Original Message-----
From: Hugh Caley [mailto:hcaley <email protected>]
Sent: Tuesday, July 04, 2000 8:53 AM
To: php-general <email protected>
Subject: Java?
I note that the documentation for PHP 4.0 says that Java is supported; I
haven't been able to find any documentation on how it is supported. Can
someone point me to something?
Hugh
-- Hugh Caley, Lumeria, Inc. Lead Systems Engineer hugh <email protected>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Richard Lynch: "Re: [PHP] Netscape Trouble"
- Previous message: Richard Lynch: "Re: [PHP] can I parse text from other website ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

