Home How to upload & Save Files with Desired name
 i am using this code to upload files(images to a folder) 
 when the file(image) is saved at the specified path... WHAT if i want to save the file with some desired name.... i have tried replacing THIS $target_Path =$target_Path.basename( $_FILES['userFile']['name'] );  WITH THIS $target_Path = \$target_Path.basename( "myFile.png" );  BUT it's not working