PHP and Java

I am very new to PHP and had this question?

Can a PHP code instantiate and use a Java code.

cheers
W
W122498Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
gravityConnect With a Mentor Commented:
It can in the PHP 4 betas... however, these are undocumented, so you'll need to ask on the PHP 4 mailing list.
0
 
j2Commented:
as in? I think you will have to elaborate.
0
 
W122498Author Commented:
Hi J2

well I want to instantiate an class (or get a reference to an java object), and pass message to it.
All these things in a PHP code!!!!

cheers
0
 
CEBAKACommented:
You can get at http://php.net documentation on JAVA
PHP 4 beta version
0
 
jasmoft146Commented:
The other way is to use php to write in the java script.

eg.
<html>
<body>
<?PHP
$a="hi";
echo "<script>document.write(\"". $a . "\");</script>";
?>
</body>
</html>
0
All Courses

From novice to tech pro — start learning today.