note 58435 deleted from ref.java by nlopess
| From: | nlopess@php.net | Date: | Fri, 04 Nov 2005 09:36:59 +0000 |
| Subject: | note 58435 deleted from ref.java by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98057@lists.php.net to get a copy of this message | ||
Note Submitter:
----
Hi
This code is not working for me can any body please help me in correcting the code
<?php
$request = new Java("javax.ServletRequest",$req);
$request -> getInputStream();
$in = $new Java("javax.servlet.ServletInputStream",$in);
$byte[] = new Java("java.lang.byte",$line);
$bytes = 0;
new Java("java.io.FileOutputStream", $fileOutS)
$fileOutS = new Java( FileOutputStream($dir$file));
while(0 <($bytes = in ->read($line))){
$fileOutS->write($line,0, $bytes);
}
?>
Regards
Praveen