php header problem
宇轩
宇轩 2022-10-17 19:21:25
0
0
649

How to process the header information returned by curl into an associative array, the data is as follows;

HTTP/1.1 200 OK

Server: nginx

Date: Mon, 17 Oct 2022 10:54:43 GMT

Content-Type: application/json; charset=utf-8

Content-Length: 2168

Connection: keep-alive

Keep-Alive: timeout=8

Cache-Control: no-cache, must-revalidate

X-Content-Type-Options: nosniff

Request -ID: 08F3E8****0610E80618A1****A306209C2B28F5E205-0

Content-Language: zh-CN

Wechatpay-Nonce: a47a9c64de60****07eb889578dcf82c

Wechatpay-Signature: sign

Wechatpay-Timestamp: 1666004083

Wechatpay-Serial: 6D64345352D****44D12854B73****F1157FAC6E

Wechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048

If you understand, please help me, thank you

宇轩
宇轩

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template