开发者

Access to content disposition header in php/server

开发者 https://www.devze.com 2022-12-28 06:08 出处:网络
I am doing some debugging 开发者_开发问答in php and I need to take a look at the full headers sent to the server in including the multipart form-data information stored in content disposition.

I am doing some debugging 开发者_开发问答in php and I need to take a look at the full headers sent to the server in including the multipart form-data information stored in content disposition.

However apache_request_headers() doesn't return that information.

Any clues?


I am also happy to look at a non php solution if possible


From PHP Docs:

Note: As of PHP 4.3.3 you can use this function with the NSAPI server module in Netscape/iPlanet/SunONE webservers, too.

Make sure that those requirements are met.

You can also get the complete header info with feature-rich httpWatch program out there.


Also not PHP related, but you can see the complete request header along with the responses in any Webkit browser (Safari, Chrome) via the Resources-tab in the developer tool. And for Firefox, there's the FireBug-addon, which offers the same functionality.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号