[function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized

后端 未结 4 1957
孤街浪徒
孤街浪徒 2021-01-21 17:51

[function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized

I am periodically getting this error, i.e it is only happening at random times, a

4条回答
  •  我在风中等你
    2021-01-21 18:12

    You are trying to access a site that requires authentication, as maggie pointed out. fopen() does not support HTTP Basic Authentication, so you must use the Client URL Library to achieve such functionalities.

    This has been discussed before.

提交回复
热议问题