Hellow all,

I have small problem. I'm using simple download script <see below> to
download realmedia files. I had it on apache 1.3 + php 4.01 module without
any problems. But then I updated to Apache 2 + php 4.04 module and then
after download any file memory is still alocated and after few hours server
is memory overloaded. But I need Apache 2. Please can anybody help me.

Thanx!

JK

<?
$meno=$QUERY_STRING.".rm";
$file="E:/Archiv/".$QUERY_STRING.".rm";
$fp = fopen($file,"rb");
$fsize = filesize($file);
header("Content-type: application/download \r \n");
header("Content-length: $fsize \r \n");
header("Content-Disposition: attachment; filename=\"$meno\"");
fpassthru($fp);
exit;
?>




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to