لدي مشكل في الدالة كوبي copy على السيرفر


و كل السكريبتات تقوم على هذا الأساس


أرجو المساعدة


تحياتي



هذا جزء من السكريبت












كود PHP:
<?
$pix_list 
"";
if(
$_REQUEST['dowot'] == 'addnewpix') {
    if(!
$category->getCategoryTotal()) reportMSG($lang['gallery_request_error']['title'],$lang['gallery_album_empty'],"?dowot=createnewalbum");
    if(isset(
$_POST['wot']) && $_POST['wot'] == "submit") {
        
$catinfo $category->getCategoryInfo((int)$_POST['cat']);
        
$pix->foldername $catinfo['foldername'];
        
$filepath $gallery_document_root."/".$pixdir."/".$pixdirkey.$catinfo['foldername']."/".$_FILES['filename']['name'];
        if(!
checkSubmitPixSize($_FILES['filename']['tmp_name'])) reportMSG($lang['gallery_newpix_error']['title'],$lang['gallery_newpix_error']['msg2']);
        if(!
checkPixType($_FILES['filename']['name'])) reportMSG($lang['gallery_newpix_error']['title'],$lang['gallery_newpix_error']['msg1']);
        if(@
file_exists($filepath) || eregi("[\~\@\%\#\$\&\^\*\(\)\,\<\>\/\'\;\"\:\` ]",$_FILES['filename']['name'])) reportMSG($lang['gallery_newpix_error']['title'],$lang['gallery_newpix_error']['msg5']);
        if(@
copy($_FILES['filename']['tmp_name'],$filepath)) {
            
$pix->title formatInput($_POST['pixtitle']);
            
$pix->description formatInput($_POST['pixdescription']);
            
$pix->addNewPix($_FILES['filename']['name'],$_POST['cat']);
            
reportMSG($lang['gallery_newpix_success']['title'],$lang['gallery_newpix_success']['msg'],"?dowot=addnewpix&cat=".$_POST['cat'],1);
        }
        else 
reportMSG($lang['gallery_newpix_error']['title'],$lang['gallery_newpix_error']['msg3']);
    }
أرجو إن أمكن أن تغيروا لي ما يجب تغيره في السكريبت لنسخه و لصقه لأنني مبتدأ في هذا المجال
مع كل إحتراماتي