Thisis my my index page codu\ing move_uploaded_function is not working here
Untitled Document Choose a file to upload:uploader .php
<?php $q=$_GET["q"]; $target_path = "uploads/"; echo $target_path = $target_path . basename($q); //$_FILES['uploadedfile']['tmp_name']; //$_FILES['uploadedfile']['tmp_name']; $p = 'C:\Program Files\xampp\tmp\php168.tmp'; if(move_uploaded_file($p, $target_path)) { echo "The file ". basename($q). " has been uploaded"; } else{ echo "There was an error uploading the file, please try again!"; } ?>