setcookie("SET BY THIS PAGE", "This is a diagnostic cookie."); ?>
Webbot Diagnostic Page
This web page is a tool to diagnose webbot functionality by examining what the webbot sends to webservers.
Variable | Value sent to server |
---|---|
HTTP Request Method | |
Your IP Address | |
Server Port | |
Referer |
if(isset($_SERVER['HTTP_REFERER']))
echo $_SERVER['HTTP_REFERER'];
else
echo "Null "; ?> |
Agent Name |
if(isset($_SERVER['HTTP_USER_AGENT']))
echo $_SERVER['HTTP_USER_AGENT'];
else
echo "Null "; ?> |
Get Variables | if(count($_GET)>0) var_dump($_GET); else echo "Null"; ?> |
Post Variables | if(count($_POST)>0) var_dump($_POST); else echo "Null"; ?> |
Cookies | if(count($_COOKIE)>0) var_dump($_COOKIE); else echo "Null"; ?> |
This web page also sets a diagnostic cookie, which should be visible the second time you access this page.