php - how to increse upload file size into mysql -


$name=$_files['file']['name']; $temp=$_files['file']['tmp_name'];  move_uploaded_file($temp,"upload1/".$name); $url="video/upload/$name";  mysql_query("insert video (name,url) values('$name','$url')"); 

you modified php.ini.

post_max_size = 25m

just change php.ini(xampp/php/php.ini) file, worked me.

memory_limit = 1000m post_max_size = 750m upload_max_filesize = 750m max_execution_time = 5000 max_input_time = 5000 

and, don't forget restart mysql module xampp control panel


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -