try setting chmod after using move_uploaded_file. For example:
The above of course requires php.ini to be configured to allow chmod scripting functions. If you are unfamiliar with chomd functions you can refer here.
If direct CHMOD is not available on your server, a worked around is by using FTP CHMOD (will result in some delay).
$target_path = "upd_img/";
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
$filename = trim($_FILES['uploadedfile']['name']);
$ftp_server = "myftpserveraddress";
$ftp_user_name = "ftpuser";
$ftp_user_pass = "ftppass";
$conn_id = ftp_connect($ftp_server);
$login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);
if ((!$conn_id) || (!$login_result))
echo "FTP connection has failed!";
echo "Attempted to connect to $ftp_server for user $ftp_user_name";
echo ftp_chmod($conn_id, 0604, "upd_img/".$filename) ? "CHMOD successful!" : 'Error';
hope the above will help