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.
精彩评论