Hi
I am doing a simple php file upload script. Works fine but I cant upload more than 3MB files using this script... Please help me. This is my code
$target_path = "../items/";
$target_path = $target_path . basename( $_FILES['file1']['name']);
$name=$_FILES['file1']['name'];
$ext=end(explode('.',$name));
if ($ext=="flv"){
move_uploaded_file($_FILES['file1']['tmp_name'], $target_path);
$new_name=$itemId.".".$ext;
rename ("../items/".$name, "../items/".$new_name);
mysql_query("UPDATE video SET video='$new_name' WHERE id='$itemId'");
}
Thanks in advance
Rajeesh