السلام عليكم
هناك خلل في الكود التالي
يرجا محاولة حل المشكلة
(هذا هو الخلل)
كود:
Warning: copy(audio/x-pn-realaudio ram): failed to open stream: No such file or directory in /home/ccc/ccc/ccc/ccc/cccc/yes/send_us_file.php on line 22
حدث خلل اثناء ارسال الملف يرجا المحاولة ثانية
بامكانك اغلاق هذه النافذة الان
( هذا هو الكود)
كود PHP:
<?php
$path = "waiting_files"; // مكان المجلد واسمه
$file_desk = $_POST["file_desk"];
//-------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------
if ($up == "uploading")
{
if( ($reqfile != "none") && ($reqfile = "audio/vnd.rn-realaudio") && ($reqfile = "video/vnd.rn-realvideo") && ($reqfile = "audio/x-pn-realaudio") &&
($reqfile = "audio/x-pn-realaudio-plugin") && ($reqfile = "application/vnd.rn-realmedia") && ($reqfile = "audio/x-mp3") && ($reqfile = "audio/mpeg") && ($reqfile
= "application/zip") && ($reqfile = "application/x-pn-realaudio") && ($reqfile = "audio/midi") && ($reqfile = "audio/x-aiff ") && ($reqfile = "audio/x-wav") &&
($reqfile = "audio/x-mpegurl") && ($reqfile = "audio/mpeg3") && ($reqfile = "audio/x-mpeg-3") && ($reqfile = "audio/x-mpeg ") && ($reqfile = "audio/x-
mpeg") && ($reqfile = "application/vnd.rn-realmedia rm") && ($reqfile = "audio/x-pn-realaudio ram") )
{
$up = copy($reqfile, "$path/$reqfile_name");
if ($up){
echo '<center>';
echo "<br>تم ارستلام الملف بنجاح<br><br><font color=red>بامكانك اغلاق هذه النافذة الان</font><br><br></center>";
} else {
echo '<center>';
echo "<br><font color=red><b>حدث خلل اثناء ارسال الملف يرجا المحاولة ثانية</b></font><br><br><font color=red>بامكانك اغلاق هذه النافذة
الان</font><br><br></center>";
}
}else {
echo '<center>';
echo "<br><font color=red><b>عفوا انت تحاول بتحميل ملف غير صوطي أو ليس مضغوط!!!!</b></font><br><br><font color=red>يرجا المحاولة
ثانية</font><br><br></center>";
}
exit();
}
//-------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------
// نموذج اختيار الملف
echo '<big><Big><center><font color=red>صفحة ارسال الملفات</font></center></big></big><br>';
echo "<br><br><center><form method=\"POST\" action=\"$PHP_SELF?up=uploading\" enctype=\"multipart/form-data\">
<input type=\"file\" name=\"reqfile\" size=\"50\">
<br>اسم الملف<br><input type=\"text\" name=\"file_desk\" size=\"50\"><br>
<button name=\"submit\" type=\"submit\">... حمل الملف ...</button></form></center>";
//-------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------
?>