The code is below (pieces of it). The folders have write permissions. It
works just fine with smaller files but nothing happens with larger files


                if(!is_uploaded_file($_FILES['file']['tmp_name'])){
                        $ERR['file']=1;
                }

                if(!sizeof($ERR)){
                        $try=copy_file($_FILES['file']['tmp_name'],
$TO_FILE);
                        // copy_file makes the upload using copy or
move_uploaded_file

                        if($try=="copy_err"){
                                echo "copy_err";
                        }
                        else{
                                echo "copy_success";
                        }

                }

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to