[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] email/inc class.boattach_file.inc.php, 1.4.2.2, 1.4.2
From: |
Dave Hall <address@hidden> |
Subject: |
[Phpgroupware-cvs] email/inc class.boattach_file.inc.php, 1.4.2.2, 1.4.2.3 |
Date: |
Wed, 08 Oct 2003 08:56:29 +0000 |
Update of /cvsroot/phpgroupware/email/inc
In directory subversions:/tmp/cvs-serv2602
Modified Files:
Tag: Version-0_9_16-branch
class.boattach_file.inc.php
Log Message:
fix for copy
Index: class.boattach_file.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/email/inc/class.boattach_file.inc.php,v
retrieving revision 1.4.2.2
retrieving revision 1.4.2.3
diff -C2 -d -r1.4.2.2 -r1.4.2.3
*** class.boattach_file.inc.php 13 Sep 2003 01:46:14 -0000 1.4.2.2
--- class.boattach_file.inc.php 8 Oct 2003 08:56:26 -0000 1.4.2.3
***************
*** 373,377 ****
srand((double)microtime()*1000000);
$random_number = rand(100000000,999999999);
! $newfilename =
md5($this->file_data['file_tmp_name'].', '.$this->file_data['file_name'].',
'.$GLOBALS['phpgw_info']['user']['sessionid'].time().getenv('REMOTE_ADDR').$random_number);
// Check for uploaded file of 0-length, or no
file (patch from Zone added by Milosch)
--- 373,377 ----
srand((double)microtime()*1000000);
$random_number = rand(100000000,999999999);
! $newfilename =
md5($this->file_data['file_tmp_name'].', '.$this->file_data['file_name'].',
'.$GLOBALS['phpgw_info']['user']['sessionid'].time().$_SERVER['REMOTE_ADDR'].$random_number);
// Check for uploaded file of 0-length, or no
file (patch from Zone added by Milosch)
***************
*** 383,387 ****
else
{
! copy($this->file_data['file_tmp_name'],
$this->uploaddir.SEP.$newfilename);
}
--- 383,387 ----
else
{
!
move_uploaded_file($this->file_data['file_tmp_name'],
$this->uploaddir.SEP.$newfilename);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] email/inc class.boattach_file.inc.php, 1.4.2.2, 1.4.2.3,
Dave Hall <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] addressbook/inc class.boaddressbook.inc.php, 1.21.2.2.2.12, 1.21.2.2.2.13 class.uivcard.inc.php, 1.5.2.1.2.1, 1.5.2.1.2.2
- Next by Date:
[Phpgroupware-cvs] addressbook/inc class.boaddressbook.inc.php, 1.21.2.2.2.13, 1.21.2.2.2.14
- Previous by thread:
[Phpgroupware-cvs] addressbook/inc class.boaddressbook.inc.php, 1.21.2.2.2.12, 1.21.2.2.2.13 class.uivcard.inc.php, 1.5.2.1.2.1, 1.5.2.1.2.2
- Next by thread:
[Phpgroupware-cvs] addressbook/inc class.boaddressbook.inc.php, 1.21.2.2.2.13, 1.21.2.2.2.14
- Index(es):