File:  [mozdev] / webmailnotifier / www / updated2.html
Revision 1.15: download - view: text, annotated - select for diffs - revision graph
Sat Feb 19 18:34:54 2011 UTC (9 years ago) by tobwithu
Branches: MAIN
CVS tags: HEAD
no message

<?php 
  if (isset($_GET['ver']) && $_GET['ver'] != "") {
    $ver = $_GET['ver'];
  }else $ver=""; 
echo $ver."!";
echo $_SERVER["PHP_SELF"]."!";
echo $_SERVER["QUERY_STRING"]."!\n";
echo $_SERVER["SCRIPT_FILENAME"]."!\n";
echo $_SERVER["HTTP_REFERER"]."!\n";
echo $_SERVER["REQUEST_URI"]."!\n";


function genRandomString() {
    $length = 8;
    $characters = 'abcdefghijklmnopqrstuvwxyz';
    $string = '';    

    for ($p = 0; $p < $length; $p++) {
        $string .= $characters[rand(0,strlen($characters))];
    }

    return $string;
}
echo '*'.genRandomString();
?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>