my hosting directory permissions is writeable but still i recieved in 0kb files came form my upload page.

can you post the code from the upload from your script ?

<form name="frmUpload" id="frmUpload" enctype="multipart/form-data" action="../dplocation/reupload.php" method="POST" class="appForm">
                        First Name<span class="s2"></span>Middle Name<span class="s3"></span>Last Name<br>
                        <input type="text" name="fName" id="fName" class="tb1"><span class="s1"></span><input type="text" name="mName" id="mName" class="tb1"><span class="s1"></span><input type="text" name="lName" id="lName" class="tb1"><br>
                        Home Address<span class="s4"></span>Contact No.<br>
                        <input type="text" name="hAdd" id="hAdd" class="tb2"><span class="s1"></span><input type="text" name="cNo" class="tb1" id="cNo"><br>
                        Email Address<br>
                        <input type="text" name="eAdd" id="eAdd" class="tb1"><br><br>
                        <span class="career-title">Educational Background</span><br>
                        Educational Attainment<span class="s5"></span>Title/Course<span class="s6"></span>Graduate Year<br>
                        <!--<input type="text" name="eAtt" class="tb1">-->
                            <select name="eAtt" class="selectjobs">
                                <option value=""></option>
                                <option value="Masters">Masters</option>
                                <option value="College">College</option>
                                <option value="Vocational">Vocational</option>
                                <option value="Highschool">Highschool</option>
                                <option value="Elementary">Elementary</option>
                                <option value="Others">Others</option>
                            </select>
                                <span class="s1"></span><input type="text" name="tandc" id="tandc" class="tb1"><span class="s1"></span><input type="text" name="sy" class="tb1"><br><br>
                                <span class="career-title">File Application</span><br>
                                    Position<span class="fa1"></span>Resume Databank<br>
                                    <select name="pApp" class="selectjobs" id="selectposition">
                                        <option value=""></option>
                                        <option value="Operaion Staff">Operaion Staff</option>
                                        <option value="Sales Executive">Sales Executive</option>
                                        <option value="Promodizer">Promodizer</option>
                                        <option value="Project Coordinator">Project Coordinator</option>
                                        <option value="Delivery Coordinator">Delivery Coordinator</option>
                                        <option value="Warehouse Helper">Warehouse Helper</option>
                                        <option value="Driver">Driver</option>
                                    </select>
                                <!--<input type="text" name="pApp" class="tb1"><br>-->
                                <input type="hidden" name="MAX_FILE_SIZE" value="500000" />
                                <span class="fa2"></span><input name="uploadedfile" type="file" id="tb3"/>
                                <div id="reqnote"></div><br><br>
                                <input type="submit" value="Send Application" class="jobSend" onclick="req()">
                    </form>
$target_path = "../databank/temp/";
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']); 
$filename = $_FILES['uploadedfile']['name'];
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
    echo "The file ".  basename( $_FILES['uploadedfile']['name']). 
    " has been uploaded";
} else{
    echo "There was an error uploading the file, please try again!";
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.