Odp: [PHP4BETA] Odp: [PHP4BETA] PHP 4.0 Release Candidate 1 - Win32 binaries for servlet and java posted
| From: | Lukasz Felsztukier | Date: | Tue, 28 Mar 2000 18:26:08 +0000 |
| Subject: | Odp: [PHP4BETA] Odp: [PHP4BETA] PHP 4.0 Release Candidate 1 - Win32 binaries for servlet and java posted | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12761@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: <rubys@us.ibm.com>
To: Lukasz Felsztukier <L.Felsztukier@digitalone.pl>
Cc: <php4beta@lists.php.net>
Sent: Tuesday, March 28, 2000 8:12 PM
Subject: Re: [PHP4BETA] Odp: [PHP4BETA] PHP 4.0 Release Candidate 1 - Win32
binaries for servlet and java posted
>
>
> Lukasz Felsztukier wrote:
> >> Note: sapi/servlet allows you to run PHP inside of a servlet. Ext/java
> >> allows you to run java inside of PHP. In other words, you typically
> only
> >> need one or the other.
> >
> >Could you post some short sample code showing the way to do this ?
>
> Samples and a README are included in each download.
>
> Here's another sample:
>
> <?php
>
> $host = "www.yahoo.com";
>
> $inetAddr = new Java("java.net.InetAddress");
> $allAddresses = $inetAddr->getAllByName($host);
How exactly should I make java classes available to php ?