ConclusionUsingthePHPJavaextensionsallowsyoutoextendyourPHPcode, viaalltheJavaclasssnowavailable. Somepotentialusesare; 1. UsePHPtosendafax, viatheHylafaxJavaclienth
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
Http://www.jars.com ~ Start searching for handy Java classes
Http://www.gamelan.com ~ More Java classes
Http://www.technetcast.com/tnc_play_stream.html? Stream_id = 400 ~ Sam Ruby about PHP and Java integration at Open Source Convention 2000 (audio)
Http://xml.apache.org ~ Apache XML Project
Http://www.phpbuilder.com/columns/justin20001025.php3 ~ Transforming XML with XSL using Sablotron