How to debug HTTP request?

HTTP session debug?

  • How can one make HTTP session trace like this: (Apache v2 on Linux 2.6) testing with normal URL http://talkorchat.com/zzz.php?mode=ok it is ok QUERY STRING is set and zzz.php script response with $mode=ok PHP VariablesVariable Value PHP_SELF /zzz.php _REQUEST["mode"] ok _GET["mode"] ok _SERVER["AuthDigestEnableQueryStringHa… On _SERVER["SCRIPT_URL"] /zzz.php _SERVER["SCRIPT_URI"] http://talkorchat.com/zzz.php _SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 9.01 _SERVER["HTTP_HOST"] talkorchat.com _SERVER["HTTP_ACCEPT"] text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 _SERVER["HTTP_ACCEPT_LANGUAGE"] ru,en;q=0.9 _SERVER["HTTP_ACCEPT_CHARSET"] iso-8859-1, utf-8, utf-16, *;q=0.1 _SERVER["HTTP_ACCEPT_ENCODING"] deflate, gzip, x-gzip, identity, *;q=0 _SERVER["HTTP_CACHE_CONTROL"] no-cache ...

  • Answer:

    you are looking in the right place! $_REQUEST is an array.... loop through it!

Mostar at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.