note 129179 added to function.fopen
| From: | bohwaz at main dot php dot net | Date: | Sat, 20 Jan 2024 16:48:30 +0000 |
| Subject: | note 129179 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221133@lists.php.net to get a copy of this message | ||
Please note that you cannot write to a HTTP resource, for example for doing a PUT request.
You will get this error: 'Failed to open stream: HTTP wrapper does not support writeable
connections'
To do a PUT you can only populate the 'content' key of the HTTP context, or use Curl
instead.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.134 (proxied: 2a02:8429:27d2:9a01:de71:96ff:feb9:774c)
----
Manual Page -- https://php.net/manual/en/function.fopen.php
Edit -- https://main.php.net/note/edit/129179
Del: integrated -- https://main.php.net/note/delete/129179/integrated
Del: useless -- https://main.php.net/note/delete/129179/useless
Del: bad code -- https://main.php.net/note/delete/129179/bad+code
Del: spam -- https://main.php.net/note/delete/129179/spam
Del: non-english -- https://main.php.net/note/delete/129179/non-english
Del: in docs -- https://main.php.net/note/delete/129179/in+docs
Del: other reasons-- https://main.php.net/note/delete/129179
Reject -- https://main.php.net/note/reject/129179
Search -- https://main.php.net/manage/user-notes.php