"1.9 Gb" - 1.9 MB :)
Ok, here's part of my code (big query and an if-else statement):
$result = mysql_query("INSERT INTO arhivs (prieksmets, prieksmets_full_name, nosaukums, tips, formats, izmers, autors, datums, laiks, path, saturs) VALUES ('$prieksmets', '$prieksmets_full_name', '$fileName', '$fileType', '$fileExt', '$fileSize', '$autors', '$datums', '$laiks', '$newpath', '$content')");
if($result==true)
{
move_uploaded_file($_FILES["userfile"]["tmp_name"],$newpath);
echo "Fails veiksmīgi pievienots. Paldies!";
}
else
{
echo mysql_error();
}
If file is < than 1.90 MB, everything echoes fine, but when it's >- 1.90 MB then it's supposed to show why query can't be executed, but it doesn't.