2
Contributors
3
Replies
33
Views
3 Years
Discussion Span
Last Post by momonq1990
0
<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>
0
$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!";
}
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.