phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: felamimail download.php,1.1.1.1.2.1,1.1.1.1.2.2


From: Lars Kneschke <address@hidden>
Subject: [Phpgroupware-cvs] CVS: felamimail download.php,1.1.1.1.2.1,1.1.1.1.2.2
Date: Thu, 08 Aug 2002 01:52:20 -0400

Update of /cvsroot/phpgroupware/felamimail
In directory subversions:/tmp/cvs-serv2383

Modified Files:
      Tag: Version-0_9_14-branch
        download.php 
Log Message:
fixed some little bugs



Index: download.php
===================================================================
RCS file: /cvsroot/phpgroupware/felamimail/download.php,v
retrieving revision 1.1.1.1.2.1
retrieving revision 1.1.1.1.2.2
diff -C2 -r1.1.1.1.2.1 -r1.1.1.1.2.2
*** download.php        25 Feb 2002 23:58:36 -0000      1.1.1.1.2.1
--- download.php        8 Aug 2002 05:52:16 -0000       1.1.1.1.2.2
***************
*** 11,16 ****
      **  $Id$
      **/
!    header("Pragma: ");
!    header("Cache-Control: cache");
  
        // store the value of $mailbox, because it will overwriten
--- 11,16 ----
      **  $Id$
      **/
! #   header("Pragma: ");
! #   header("Cache-Control: cache");
  
        // store the value of $mailbox, because it will overwriten
***************
*** 160,165 ****
                  $body = mime_fetch_body($imapConnection, $passed_id, 
$passed_ent_id);
                  $body = decodeBody($body, $header->encoding);
!                 header("Content-type: $type0/$type1; name=\"$filename\"");
!                 header("Content-Disposition: attachment; 
filename=\"$filename\"");
                  echo $body;
              }
--- 160,165 ----
                  $body = mime_fetch_body($imapConnection, $passed_id, 
$passed_ent_id);
                  $body = decodeBody($body, $header->encoding);
!                 header("Content-Type: $type0/$type1");
!                 header("Content-Disposition: filename=\"$filename\"");
                  echo $body;
              }
***************
*** 174,180 ****
              break;
           default:
!             header("Content-type: $type0/$type1; name=\"$filename\"");
!             header("Content-Disposition: attachment; filename=\"$filename\"");
!             mime_print_body_lines ($imapConnection, $passed_id, 
$passed_ent_id, $header->encoding);
              break;
        }
--- 174,180 ----
              break;
           default:
!             header("Content-Type: $type0/$type1");
!             header("Content-Disposition: filename=\"$filename\"");
!           mime_print_body_lines ($imapConnection, $passed_id, $passed_ent_id, 
$header->encoding);
              break;
        }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]