|
From: <php...@li...> - 2010-03-29 15:29:27
|
Hi,
not sure what you're asking for.
> I receive a jar file but I can't read it, and it's very important that I
> can access it.
jar files are standard zip files. I don't know if it is possible to
repair a broken zip file.
> <?php
>
> require_once("Java.inc");
[...]
> $prepago = new java("prepago");
>
> ?>
The example might work, provided that the jar file is in the
WEB-INF/lib folder or in java.ext.dirs.
Please see our install instructions at
http://php-java-bridge.sourceforge.net/pjb/webapp.php and our FAQ
http://php-java-bridge.sourceforge.net/pjb/FAQ.html section "Class
loading questions".
Regards,
Jost Bökemeier
|