This article is a mirror article of machine translation, please click here to jump to the original article.

View: 15093|Reply: 1

php gets the header parameter of the request

[Copy link]
Posted on 7/17/2017 6:07:37 PM | | | |

php code:




As shown above, all custom information in the header in PHP will be added to the beginning of the HTTP_, and the parameter names will be converted to uppercase regardless of case when obtaining!

I read many articles on the Internet and found that they were all obtained with get_all_headers。。。。。

I found that one person sent it out, and many people reprinted it blindly.

Generally who needs to get all the request headers... I'm also drunk






Previous:Bootstrap modal box to load pages remotely
Next:mvc Directory Listing Denied This Virtual Directory does not allow contents t...
 Landlord| Posted on 12/24/2023 8:05:23 PM |
PHP gets all the header information
https://www.itsvse.com/thread-10712-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com