VoteCounter-Sandbox

Click here to go back to the VoteCounter recipe to see the results of the sandbox

  • (+) vote
  • (+) some other content Sam
    • (2,5) testing indentation and non integer
  • (-) I didn't like it Anonymous
  • (sam) an example of how arbitrary text can be used as a "rating"
  • (sam) +sam
  • (+2) What a great idea! Susie

  • (+2) Best ever! Mathilda
  • This line is ignored because it has no rating in parentheses
  • (++) Another way of saying i really like it Mr Optimist
  • (+) It'll do even though I didn't call
  • (++++) It'll do even though I didn't call
  • (+) Any other thoughts?
  • (+) Strange
  • ([-]) The "unticked" flipbox
  • ([-]) The "unticked" flipbox
  • ([+]) The "ticked" flipbox
  • ([q]) The "question" flipbox

Note that lines that don't follow the asterisk-openparen-rating-closeparen pattern are simply ignored.

Array
(
    [post_max_size] => 64M
    [$_POST keys] => 
    [$_REQUEST keys] => n
    [$_SERVER] => Array
        (
            [CONTEXT_DOCUMENT_ROOT] => /home/pmwiki/public_html
            [CONTEXT_PREFIX] => 
            [DOCUMENT_ROOT] => /home/pmwiki/public_html
            [GATEWAY_INTERFACE] => CGI/1.1
            [HTTPS] => on
            [HTTP_ACCEPT] => */*
            [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate
            [HTTP_HOST] => www.pmwiki.org
            [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
            [HTTP_X_HTTPS] => 1
            [PATH] => /bin:/usr/bin
            [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php70/root/etc:/opt/cpanel/ea-php70/root/etc/php.d:.
            [QUERY_STRING] => n=Cookbook%2fVoteCounter%2dSandbox
            [REDIRECT_HTTPS] => on
            [REDIRECT_QUERY_STRING] => n=Cookbook%2fVoteCounter%2dSandbox
            [REDIRECT_SCRIPT_URI] => https://www.pmwiki.org/wiki/Cookbook/VoteCounter-Sandbox
            [REDIRECT_SCRIPT_URL] => /wiki/Cookbook/VoteCounter-Sandbox
            [REDIRECT_SSL_TLS_SNI] => www.pmwiki.org
            [REDIRECT_STATUS] => 200
            [REDIRECT_UNIQUE_ID] => afLLqlyOVX-mQA87s3vq8wAAAUw
            [REDIRECT_URL] => /wiki/Cookbook/VoteCounter-Sandbox
            [REMOTE_ADDR] => 216.73.216.31
            [REMOTE_PORT] => 23162
            [REQUEST_METHOD] => GET
            [REQUEST_SCHEME] => https
            [REQUEST_URI] => /wiki/Cookbook/VoteCounter-Sandbox
            [SCRIPT_FILENAME] => /home/pmwiki/public_html/index.php
            [SCRIPT_NAME] => /index.php
            [SCRIPT_URI] => https://www.pmwiki.org/wiki/Cookbook/VoteCounter-Sandbox
            [SCRIPT_URL] => /wiki/Cookbook/VoteCounter-Sandbox
            [SERVER_ADDR] => 23.254.203.248
            [SERVER_ADMIN] => webmaster@pmwiki.org
            [SERVER_NAME] => www.pmwiki.org
            [SERVER_PORT] => 443
            [SERVER_PROTOCOL] => HTTP/1.1
            [SERVER_SIGNATURE] => 
            [SERVER_SOFTWARE] => Apache
            [SSL_TLS_SNI] => www.pmwiki.org
            [TZ] => America/Los_Angeles
            [UNIQUE_ID] => afLLqlyOVX-mQA87s3vq8wAAAUw
            [PHP_SELF] => /index.php
            [REQUEST_TIME_FLOAT] => 1777519530.3669
            [REQUEST_TIME] => 1777519530
            [argv] => Array
                (
                    [0] => n=Cookbook%2fVoteCounter%2dSandbox
                )

            [argc] => 1
        )

)