99% من المنتديات العربية والنسخ العربية يواجهون مشكلة المرفقات (الإسم بالعربى بعد تحميله يطلع فاضي ) بعد ترقيتهم للجيل 3.5
لمشاهدة المشكله هذه الصورة توضح اين تكمن المشكله
![Big Grin](http://www.arabwebtalk.com/images/smilies/biggrin.gif)
تظهر مع متصفح Internet Explorer
لا ادري مع المتصفحات الأخرى تظهر ولا لا
وهذه طريقة التعديل
افتح ملف attachment.php الي بمجلد المنتدى الرئيسي
وابحث عن
كود PHP:
]$filename = rawurlencode($attachmentinfo['filename']);
}
else
{
$filename =& $attachmentinfo['filename'];
}
if ($extension != 'txt')
{
header("Content-disposition: inline; filename=\"$filename\"");
header('Content-transfer-encoding: binary');
}
else
{
// force txt files to be downloaded because of a possible XSS issue
header("Content-disposition: attachment; filename=\"$filename\"");
}
استبدلها بي
كود PHP:
$filename = basename($attachmentinfo['filename']);
}
else
{
$filename = trim($attachmentinfo['filename']);
}
if ($extension != 'txt')
{
header("Content-disposition: inline; filename=\"$filename\"");
header('Content-transfer-encoding: binary');
}
else
{
// force txt files to be downloaded because of a possible XSS issue
header("Content-disposition: attachment; filename=\"$filename\"");
}
بتلا حظ التعديل تغيرت الداله
ان شاء الله وضحت
وهذا الملف معدل للنسخة 3.5.3
اطيب التحيات