note 55459 added to ref.java
| From: | php-general at lists dot php dot net | Date: | Thu, 04 Aug 2005 08:41:31 +0000 |
| Subject: | note 55459 added to ref.java | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-93041@lists.php.net to get a copy of this message | ||
I run php4.4.0 on Apache 2.0.49 as CGI module ,and use php_java.dll,
the test file hello.php like this:
<html>
<body>
<?php
$hello = new Java("hello");
?>
</body>
</html>
and the hello class is:
import java.io.*;
public class hello {
public hello(){
System.out.println("hello,world!");
}
}
when I run it, The server encountered an 550 internal error ,the error log show that:
[client 127.0.0.1] malformed header from script. Bad header=hello,world!: php.exe
how to do with this error as do not modify the hello class?
----
Manual Page -- http://www.php.net/manual/en/ref.java.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55459
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55459&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55459&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55459&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55459&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55459&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55459&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55459&report=yes
Search -- http://master.php.net/manage/user-notes.php