[PHP] Java-Object

2002-04-29 Thread Bedilu Habte
Hi everyone, I use the apache FOP tool to transform render an XML-XSL pair to a PDF. The following code shows my trial to perform the transformation and rendering within a php-script. ?php 1.$trtool = new Java(de.smc.util.PDFTransformer); 2.$result = $trtool-renderXmlXsl('data.xml',

Re: [PHP] Java-Object

2002-04-29 Thread hassan
Hello, Are you sure the method renderXmlXsl() returns the rendered document ?, from the output you get, it sounds like it is not returning anything, y'd better document your self on the java class to see if there is another method to use to get the output pdf file back from it. Regards,

Re: [PHP] Java-Object

2002-04-29 Thread Bedilu Habte
Hi Hassen, Are you sure the method renderXmlXsl() returns the rendered document ?, Yes, the method 'renderXmlXsl' performs the necessary transformation and rendering, after which it returns the pdf. It is in the custom class : de.smc.util.PDFTransformer and it has been tested outside php -

AW: [PHP] Java-Object

2002-04-29 Thread Bedilu Habte
:[EMAIL PROTECTED]] Gesendet: Montag, 29. April 2002 11:40 An: Habte, Bedilu Betreff: Re: [PHP] Java-Object Bedilu Habte wrote: It appears that the transformation and rendering is performed without errors ( according to the System-output). However, in the context I used, $result contains the 6

Re: AW: [PHP] Java-Object

2002-04-29 Thread Henning
Bedilu Habte wrote: print_r($result); resulted in: Objectjava Object ( [0] = 2 ) var_dump($result); had given me: object(java)(1) { [0]= int(2) } it means that you have an object with a property field of type integer and a value of 2. possibly nmot what you want

[PHP] Java-Object

2002-04-29 Thread Bedilu Habte
Hi, First some info about my working environment: OS - Win2000 PHP - 4.1.1 Java - 1.3.1 (Apache - 1.3.22) are you sure you did everything right with the java/php combination? did you test that with other, easier things? I've modified the php.ini (and http.conf) to be able to call java from