PHP uploads files and displays the upload progress method
This article mainly introduces the PHP upload file and display the upload progress method, the example analysis of PHP transfer files and display the progress of the skills, very practical value, the need for friends can refer to the next
This example describes how PHP uploads files and displays the upload progress. Share to everyone for your reference. Specific as follows:
Remember to upload the file when the big point, or did not see the upload finished, and upload the file not too big, on the G's even, 2G I tried, PHP can not stand, I test is more than 300 m, remember to adjust the small php.ini parameters ah "Select file =" Submit = "Get information" to one go Oh ^ ^
?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21st 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
$prefix = Ini_get (' Session.upload_progress.prefix '); $name = Ini_get (' Session.upload_progress.name '); $key = $prefix. $name; Session_Start (); if (Isset ($_post[' Get_info ')) { $logo = $prefix. $_post[' logo ']; Exit (Json_encode ($_session[$logo])); } elseif ($_post) { Echo '; } ?> |
I hope this article is helpful to everyone's PHP programming.
http://www.bkjia.com/PHPjc/973114.html www.bkjia.com true http://www.bkjia.com/PHPjc/973114.html techarticle php upload files and display the method of uploading progress this article mainly introduces the PHP upload file and display the upload progress method, the example analysis of PHP transfer files and display the progress of the transfer skills, non ...