I used this code to upload file but it remove The first word of the name of the file
When the file name in Arabic

$notefile =   basename( $_FILES['file']['name']) ;  
$target_path = "files/";  

$target_path = $target_path . basename( $_FILES['file']['name']);   
if(move_uploaded_file($_FILES['file']['tmp_name'], $target_path)) {  
 echo "";  

} else{  
 echo "";  
}

what is the problem?

Recommended Answers

All 3 Replies

Okay,Thanks

if your thread got solved , then mark it solved.

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.