note 99176 added to function.fopen
| From: | eyrie88 at gmail dot com | Date: | Sun, 01 Aug 2010 02:39:26 +0000 |
| Subject: | note 99176 added to function.fopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-171293@lists.php.net to get a copy of this message | ||
Be aware that fopen($url) also respects HTTP status headers. If the URL responds with a 1xx, 4xx, or
5xx status code, you will get a "failed to open stream: HTTP request failed!", followed by
the HTTP status response. Same goes for file_get_contents($url)...
----
Server IP: 69.147.83.197
Probable Submitter: 118.208.60.16
----
Manual Page -- http://www.php.net/manual/en/function.fopen.php
Edit -- https://master.php.net/note/edit/99176
Del: integrated -- https://master.php.net/note/delete/99176/integrated
Del: useless -- https://master.php.net/note/delete/99176/useless
Del: bad code -- https://master.php.net/note/delete/99176/bad+code
Del: spam -- https://master.php.net/note/delete/99176/spam
Del: non-english -- https://master.php.net/note/delete/99176/non-english
Del: in docs -- https://master.php.net/note/delete/99176/in+docs
Del: other reasons-- https://master.php.net/note/delete/99176
Reject -- https://master.php.net/note/reject/99176
Search -- https://master.php.net/manage/user-notes.php