User Picture php 5.3 solved

This commit is contained in:
Enrique Ponce de Leon
2011-02-18 21:09:07 +00:00
parent 4087d78573
commit 34ebb9c07a
2 changed files with 2 additions and 4 deletions

View File

@@ -63,7 +63,7 @@ function DumpHeaders($filename)
$isIE6 = 1;
}
$aux = ereg_replace('[^-a-zA-Z0-9\.]', '_', $filename);
$aux = preg_replace('[^-a-zA-Z0-9\.]', '_', $filename);
$aux = explode ('_', $aux);
$downloadName = $aux[ count($aux)-1 ];
// $downloadName = $filename;

View File

@@ -63,12 +63,10 @@ function DumpHeaders($filename)
$isIE6 = 1;
}
$aux = ereg_replace('[^-a-zA-Z0-9\.]', '_', $filename);
$aux = preg_replace('[^-a-zA-Z0-9\.]', '_', $filename);
$aux = explode ('_', $aux);
$downloadName = $aux[ count($aux)-1 ];
// $downloadName = $filename;
//$downloadName = ereg_replace('[^-a-zA-Z0-9\.]', '_', $filename);
if ($isIE && !isset($isIE6)) {
// http://support.microsoft.com/support/kb/articles/Q182/3/15.asp