PHP uploads the file and displays the upload progress method,
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 ^ ^
<?php$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/972637.html www.bkjia.com true http://www.bkjia.com/PHPjc/972637.html techarticle PHP uploads the file and displays the upload progress method, this article describes the PHP upload file and display the upload progress method. Share to everyone for your reference. Specific as follows: Remember to upload the text ...