PostDebug Stack

Display debugging information for PHP superglobals POST, GET, SERVER, COOKIE, and GLOBALS.
Overview
ShowHide Stack icon
The PostDebug Stack is used strictly for debugging: add this Stack to your page and enable debugging to see information passed to the page from forms, parameters, and so on.

How does it work?
PHP is used to dump any or all super globals from _GET, _POST, _SERVER, _COOKIE, and GLOBALS.
  • ShowHide Stack screen shot
  • ShowHide Stack screen shot
Customize
ShowHide Stack parameters
PostDebug has enable options to show or hide the debug info it provides, and whether to organize it into grouped lists …

Parameters

Enable debug info ...Enable the debug info. Turn this on and publish for test purposes then disable and re-publish when everything is working.
Organize in groupsOrganize information in groups using unordered lists.
Show POST informationInclude $_POST information (parameters from form submissions). Enable this to debug parameters passed to this page by a form. Use PostSwitch to handle them.
Show GET informationInclude $_GET information (url parameters). Enable this to debug parameters passed in the URL such as index.php?a=1. Use PostSwitch to handle them.
Show SERVER informationInclude $_SERVER information (internal environment settings). Default for this is disabled. It produces a lot of output and is not usually needed.
Show COOKIE informationInclude $_COOKIE information. Default for this is disabled.
Show SESSION informationInclude $_SESSION (deprecated) information. Default for this is disabled.
Show REQUEST informationInclude $_REQUEST information. Default for this is disabled. Contains GET, POST, and COOKIE info so it is generally more selective to use the other options above.
Show FILES informationInclude $_FILES (deprecated) information. Default for this is disabled.
Show ENV informationInclude $_ENV (deprecated) information. Default for this is disabled. The same as SERVER information, so better to use the option above.
Show GLOBALS informationInclude $GLOBALS information. Default for this is disabled. List all global variables.
Examples
Check out an example of PostDebug
Example 1: the form below will call this same page with GET parameters and a form POST parameter, and the PostDebug Stack below will show this information for debug purposes …
Example 2: there is also an option in PostDebug to show the SERVER and COOKIE super globals which contain useful debug information …
SERVER ...
  • LSPHP_ENABLE_USER_INI = on
  • PATH = /usr/local/bin:/usr/bin:/bin
  • TEMP = /tmp
  • TMP = /tmp
  • TMPDIR = /tmp
  • PWD = /
  • HTTP_ACCEPT = text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  • HTTP_ACCEPT_ENCODING = br,gzip
  • HTTP_ACCEPT_LANGUAGE = en-US,en;q=0.5
  • HTTP_CONNECTION = Keep-Alive
  • CONTENT_LENGTH = 0
  • HTTP_HOST = brynowendesign.com
  • HTTP_USER_AGENT = CCBot/2.0 (https://commoncrawl.org/faq/)
  • HTTP_IF_MODIFIED_SINCE = Thu, 15 Aug 2024 22:39:17 GMT
  • UNIQUE_ID = Z1yK2Ulao7t-hhKeAolLBQAAAeQ
  • SCRIPT_URL = /stacks/PostDebug/
  • SCRIPT_URI = http://brynowendesign.com/stacks/PostDebug/
  • USER_ID = 6218285
  • SERVER_SIGNATURE =
  • SERVER_SOFTWARE = Apache
  • SERVER_NAME = brynowendesign.com
  • SERVER_ADDR = 107.180.115.161
  • SERVER_PORT = 80
  • REMOTE_ADDR = 18.97.14.82
  • DOCUMENT_ROOT = /home/jr3tgnrs8xtt/public_html
  • REQUEST_SCHEME = http
  • CONTEXT_PREFIX =
  • CONTEXT_DOCUMENT_ROOT = /home/jr3tgnrs8xtt/public_html
  • SERVER_ADMIN = webmaster@brynowendesign.com
  • SCRIPT_FILENAME = /home/jr3tgnrs8xtt/public_html/stacks/PostDebug/index.php
  • REMOTE_PORT = 51934
  • SERVER_PROTOCOL = HTTP/1.1
  • REQUEST_METHOD = GET
  • QUERY_STRING =
  • REQUEST_URI = /stacks/PostDebug/
  • SCRIPT_NAME = /stacks/PostDebug/index.php
  • PHP_SELF = /stacks/PostDebug/index.php
  • REQUEST_TIME_FLOAT = 1734118105.8612
  • REQUEST_TIME = 1734118105
  • PHP VERSION = 8.1.30

PostDebug Features

  • Requires PHP
  • Sparkle updates

Purchase PostDebug

  • $4 USD via PayPal
  • Immediate download *