hi
how to get the byte stream in php
like in JSP i am using this code in JSP
<%
try{
ServletInputStream in = request.getInputStream();
byte[] line = new byte[8192];
int bytes = 0;
FileOutputStream fileOutS = new
FileOutputStream(fileOut);
while(0 <(bytes = in.read(line))
Thanks for all your help and advice. I did struggle with the array part but
got it worked out. Perhaps you could have a quick look at the script and let
me know if it is stable enough.
1048575)
{
$filesizefile = round(($filesizefile/1024)/1024, 1);
$term
[snip]
I got some directories on a web server, these I called with PHP to be
displayed on an HTML page. But I do not get them sorted properly. I want
them to be sorted by name and not by size. Could some one please shed some
light on this.
[/snip]
Get all of the directory or file names into an arr
Dear Users, I need some help.
I got some directories on a web server, these I called with PHP to be
displayed on an HTML page. But I do not get them sorted properly. I want
them to be sorted by name and not by size. Could some one please shed some
light on this.
Thanks
==