Maison >développement back-end >tutoriel php >PHP&Java4_PHP教程
Conclusion
Using the PHP Java extensions allows you to extend your PHP code, via all the Java classs now available. Some potential uses are;
1. Use PHP to send a fax, via the Hylafax Javaclient http://www.hylafax.org/
2. Use PHP to access your Remedy application http://www.tek-tools.com/jticket/
3. Use PHP to generate bar codes, via a Java Barcode class
4. Convert your Applets so that they can generate a GIF / JPG to display to non Java browsers
In the next article on Java and PHP, we hope to show how to set up PHP with Java on a Linux box, Error checking, show you how to generate a JPG file from a Java class and use some classes readily available on the Web.
-- Mark
-- Joost
and thanks to Sam Ruby for producing such an interesting extension to PHP!
Useful Links
http://www.php4win.de ~ A great Win32 distribution of PHP
http://www.javasoft.com ~ Suns Java release