file upload with php

Posted by Rajanikant shukla on Stack Overflow See other posts from Stack Overflow or by Rajanikant shukla
Published on 2010-05-15T10:41:22Z Indexed on 2010/05/15 10:44 UTC
Read the original article Hit count: 284

Filed under:

Hi every body I am uploading file with php every thing is fine but move_uploded_file is not working every variable displayed record and all permission for file is set

function uploadfile($filename)
{



    $filetype=$filename["type"];
    $filename=$filename['name']; 
    $filetempname=$filename['tmp_name'];
    if($filetype=="application/msword")
    {
        move_uploaded_file($filetempname,"resume/".$filename);

    }

}

© Stack Overflow or respective owner

Related posts about php