PHP & Java
| From: | Jan Bro | Date: | Sun, 29 Jun 2003 09:07:44 +0000 |
| Subject: | PHP & Java | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-153310@lists.php.net to get a copy of this message | ||
Hi I hope there is anybody out there familiar with PHP and Java.
I've got the following Code:
<?php
$instan = new Java("DBUser");
echo "$instan ";
$system = new Java("java.util.Vector");
echo"$system ";
?>
If I only use one of the two objects, which one doesn't matter, it works.
IF I try to initiate them both PHP.exe is closing down on me.
In Apache error log I get the folowing error:
[Sun Jun 29 10:58:32 2003] [error] [client 127.0.0.1] Premature end of
script headers: c:/apache/php4/php.exe
Other than that I've seem to have a good configured System, as there are no
more errors.
I run a win2000 with apache 1.3.2
with php 4.3.1
thx
Jan