Welcome Guest, Not a member yet? Register   Sign In
force_download + CI 1.6.0
#6

[eluser]javigarrido[/eluser]
Hi, my problem is a diffrent one:

the function force_download simply doesn't make any output.

$this->load->helper('download');
$data = file_get_contents("modulos/".$filename); // Read the file's contents
force_download($filename, $data);
echo $data."/".$filename;

Here i just get a white screen, but the file content are show (well you now, the strange codified content Smile
I think it is simple enought, i just want the file downloaded with no other efect, ami doing something wrong?


Messages In This Thread
force_download + CI 1.6.0 - by El Forum - 04-17-2008, 02:24 PM
force_download + CI 1.6.0 - by El Forum - 04-17-2008, 03:58 PM
force_download + CI 1.6.0 - by El Forum - 08-22-2008, 10:16 AM
force_download + CI 1.6.0 - by El Forum - 08-22-2008, 10:44 AM
force_download + CI 1.6.0 - by El Forum - 08-22-2008, 10:46 AM
force_download + CI 1.6.0 - by El Forum - 10-21-2010, 02:22 AM
force_download + CI 1.6.0 - by El Forum - 11-04-2010, 10:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB