cvs: phpweb / usage.php /bin generate-netcraft-chart /gifs/stats phpstats-200204.png

From: Date: Fri, 03 May 2002 12:56:01 +0000
Subject: cvs: phpweb / usage.php /bin generate-netcraft-chart /gifs/stats phpstats-200204.png
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10015@lists.php.net to get a copy of this message
rasmus Fri May 3 08:56:01 2002 EDT Added files: /phpweb/gifs/stats phpstats-200204.png Modified files: /phpweb usage.php /phpweb/bin generate-netcraft-chart Log: Update usage stats Index: phpweb/usage.php diff -u phpweb/usage.php:1.27 phpweb/usage.php:1.28 --- phpweb/usage.php:1.27 Tue Apr 2 13:10:24 2002 +++ phpweb/usage.php Fri May 3 08:55:59 2002 @@ -3,15 +3,15 @@ commonHeader("PHP Usage Stats"); ?> -<h1>Usage Stats for March 2002</h1> +<h1>Usage Stats for April 2002</h1> <p> -PHP: 8,861,195 Domains, 1,142,955 IP Addresses<br> +PHP: 9,091,908 Domains, 1,192,687 IP Addresses<br> Source: <a href="http://www.netcraft.com/Survey/">Netcraft</a><br> </p> <p> -<?php echo print_image("stats/phpstats-200203.png", "Graph"); ?> +<?php echo print_image("stats/phpstats-200204.png", "Graph"); ?> </p> <p> You can also see how popular PHP is relative to other Apache modules Index: phpweb/bin/generate-netcraft-chart diff -u phpweb/bin/generate-netcraft-chart:1.11 phpweb/bin/generate-netcraft-chart:1.12 --- phpweb/bin/generate-netcraft-chart:1.11 Tue Apr 2 13:10:25 2002 +++ phpweb/bin/generate-netcraft-chart Fri May 3 08:56:00 2002 @@ -51,7 +51,8 @@ 200112 => array(7261540, 1043328), 200201 => array(7525142, 1079999), 200202 => array(8586112, 1143239), - 200203 => array(8861195, 1142955) + 200203 => array(8861195, 1142955), + 200204 => array(9091908, 1192687) ); $months = array(1 => "Jan", "Feb", "Mar", "Apr", "May", "Jun", @@ -62,7 +63,8 @@ foreach($stats as $key => $arr) { $domains[] = $arr[0]; $ips[] = $arr[1]; - $keys[] = ($i++%2) ? $months[(int)substr($key,4)].' '.substr($key,0,4) : ''; + $date = $months[(int)substr($key,4)].' '.substr($key,0,4); + $keys[] = ($i++%2) ? $date : ''; } $graph = new Graph(780,350,"auto"); @@ -72,7 +74,7 @@ $graph->xaxis->SetTickLabels($keys); $graph->xaxis->SetLabelAngle(45); $graph->SetShadow(); -$graph->title->Set("PHP Usage for " . end($keys)); +$graph->title->Set("PHP Usage for " . $date); $graph->title->SetFont(FF_VERDANA,FS_NORMAL,16); $graph->legend->SetLayout(LEGEND_HOR); $graph->legend->Pos(0.20,0.18,"center","center");

« previous php.mirrors (#10015) next »