tags:

views:

34

answers:

0

I have tried a lot but could not download blob data more than 1MB from oracle database. What is the solution for it.

I have following header:

ini_set("memory_limit", "200M");  
set_time_limit(0);
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: public");
header("Content-Description: File Transfer");
header("Content-Type: ".$data['CONTENT_TYPE']);
header("Content-Disposition: attachment; filename=\"".$data['FILENAME']."\"");
header("Content-Transfer-Encoding: binary");
$content=$data['DATA']->load();
    echo $content;
    exit();

please help me.

Thanks in advance