|
From: | dhayalan suresh |
Subject: | [Phpgroupware-users] file download problem |
Date: | Mon, 18 Feb 2002 22:12:09 +0530 |
hai dear
friends,
i want a solution for the same bug reported in savanaha .. ie file down load problem ........ in netscape it's fine when i click a link it asks for saving the file ,it does it so but in ie when i click it it tries to open in the browser it self and is reporting file not found error the patch already given from savanaha Index: class.browser.inc.php =================================================================== RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.browser.inc.php,v retrieving revision 1.14 diff -u -r1.14 class.browser.inc.php --- class.browser.inc.php 27 Dec 2001 15:17:29 -0000 1.14 +++ class.browser.inc.php 13 Feb 2002 21:39:10 -0000 @@ -292,8 +292,9 @@ if ($nocache) { - header('Pragma: no-cache'); + header('Pragma: public'); header('Expires: 0'); + header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); } } } Index: class.uiXport.inc.php =================================================================== RCS file: /cvsroot/phpgroupware/addressbook/inc/class.uiXport.inc.php,v retrieving revision 1.6 diff -u -r1.6 class.uiXport.inc.php --- class.uiXport.inc.php 30 Dec 2001 11:57:02 -0000 1.6 +++ class.uiXport.inc.php 13 Feb 2002 21:36:55 -0000 @@ -178,7 +178,7 @@ if ( ($download == 'on') || ($o->type == 'pdb') ) { // filename, default application/octet-stream, length of file, default nocache True - $this->browser->content_header($tsvfilename,'application/octet-stream',strle n($buffer)); + $this->browser->content_header($tsvfilename,'application/x-octet-stream',str len($buffer)); echo $buffer; } else the change in the two file doesnot affect it ,....and the bug is on...can get i get help from somebody ..to proceed. with greets from address@hidden thanks... |
[Prev in Thread] | Current Thread | [Next in Thread] |