upload in Chrome has taken a long time and gives error. He rarely sends successfully. In the status bar there is a percentage of sending and stopping percentage in 40% or 59% .
When I do this through Mozilla Firefox , it sends successfully and without delay.
The form is a multipart/form-data
default, and the upload script on the next page is a PHP , also default.
Could you tell what might be happening?
$file_id = md5($_FILES["Filedata"]["tmp_name"] + rand()*100000);
$nomearquivo = "projetos_".$file_id.'.'.getExtension($_FILES["Filedata"]["name"]);
$nomearquivo=str_replace(' ', '', $nomearquivo);
$nomearquivo=retirar_acentos_caracteres_especiais($nomearquivo);
$newname="comite_cientifico_etica_trabalhos/".strtolower($nomearquivo);
$copied = copy($_FILES['Filedata']['tmp_name'], $newname);