note 125379 added to function.file-get-contents

From: Date: Sat, 19 Sep 2020 21:32:05 +0000
Subject: note 125379 added to function.file-get-contents
Groups: php.notes 
Request: Send a blank email to php-notes+get-215142@lists.php.net to get a copy of this message
To my knowledge, when using file_get_contents to download a file, the progress can be tracked using the stream notification hooks. However, when using file_get_contents for POSTing large data sets, there is currently no way to inform the user or system of upload progress. Perhaps this will save some people time and research effort in the future and may also be something we wish to add into PHP's functionality. In a nutshell, file_get_contents supports download progress notifications, but not upload progress notifications when performing HTTP POST Request. ---- Server IP: 45.112.84.4 Probable Submitter: 185.85.3.172 (proxied: 99.49.113.151) ---- Manual Page -- http://php.net/manual/en/function.file-get-contents.php Edit -- https://master.php.net/note/edit/125379 Del: integrated -- https://master.php.net/note/delete/125379/integrated Del: useless -- https://master.php.net/note/delete/125379/useless Del: bad code -- https://master.php.net/note/delete/125379/bad+code Del: spam -- https://master.php.net/note/delete/125379/spam Del: non-english -- https://master.php.net/note/delete/125379/non-english Del: in docs -- https://master.php.net/note/delete/125379/in+docs Del: other reasons-- https://master.php.net/note/delete/125379 Reject -- https://master.php.net/note/reject/125379 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#215142) next »