[Top][All Lists]
[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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: felamimail download.php,1.1.1.1.2.1,1.1.1.1.2.2,
Lars Kneschke <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] ?big5?Q?=A6n=C5=A5=A3x=AD=B5=BC=D6=B0e=B5=B9=A7A?=
- Next by Date:
[Phpgroupware-cvs] CVS: felamimail/inc class.bofelamimail.inc.php,1.2.2.6,1.2.2.7 class.uifelamimail.inc.php,1.2.2.6,1.2.2.7 mime.php,1.1.1.1.2.1,1.1.1.1.2.2
- Previous by thread:
[Phpgroupware-cvs] ?big5?Q?=A6n=C5=A5=A3x=AD=B5=BC=D6=B0e=B5=B9=A7A?=
- Next by thread:
[Phpgroupware-cvs] CVS: felamimail/inc class.bofelamimail.inc.php,1.2.2.6,1.2.2.7 class.uifelamimail.inc.php,1.2.2.6,1.2.2.7 mime.php,1.1.1.1.2.1,1.1.1.1.2.2
- Index(es):