As the title say I have a problem with uploading video.
I need to make a form that upload a file into a folder, it work with photos, and even with videos (or anyway, .mp4 file).
The problem comes when I try to upload big files, because PhP just fail.
I already modified php.ini post max size, max filesize, memory limit and even the time to process script or to input it, but if won't work anyway.
A strange things that I have notice is that when I try to upload big files, looks like php miss name and extension of the file, even if it works perfectly with small files.
How can I fix this? Is there any PhP command to set on the script, or something else in php.ini, looks like the php guide won't help me.Thank's
$extension = pathinfo($_FILES[image]['name'], PATHINFO_EXTENSION);
$target = "uploaded/";
$target = $target . $title.'.'.$extension;
$pic=($_FILES['image']['name']);
//Writes the photo to the server
if(move_uploaded_file($_FILES['image']['tmp_name'], $target)) {
} else {}