Azz se ne è andato XD
Il file è di massimo 10M... Appena lo mando mysql mi dà quel messaggio... Che fare?codice:/* CONTROL */ $can = ( array_key_exists('trailer', $_FILES) && $_FILES['trailer']['size'] <= 10000000 && $_FILES['trailer']['error'] == 0 && ) ? $rid : FALSE; if($can) { $file = addslashes(file_get_contents($_FILES['trailer']['tmp_name'])); $can = mysql_query("INSERT INTO ".$db.".trailers (filmid, contenttype, file) VALUES ('".$rid."', '".$_FILES['trailer']['type']."', '".$file."')") or die(mysql_error()); }

Rispondi quotando
