View Single Post
Old 09-28-2005, 01:49 AM   #1
Orange Mole
Edomondo's Avatar
Join Date: Jan 2004
Location: In outer space
Posts: 37
Response Time Graph

This is a quick mod to display the response time per hour as a graph.

/!\ You need to have the GD lib installed. The PNG generated can only be protected using htaccess, if you only use PhpDig identification, the image can be seen by anybody.

Just place background.gif in PHPDIG/admin/img/ and response_time.php in PHPDIG/admin/.

In PHPDIG/admin/statistics.php line 53, add :
PHP Code:
    if($type == 'responsebyhour') {
<img src="response_time.php" alt="Response Time by Hour" width="444" height="250">
The graph is now displayed in the statistics page by clicking Response time by hour.

Now you can easily determine when response times are best/worst and when your search engine is most used.

The code is very dirty so don't hesitate to post a cleaner version.
Attached Images
File Type: gif background.gif (3.2 KB, 21 views)
Attached Files
File Type: txt response_time.php.txt (4.8 KB, 11 views)
Edomondo is offline   Reply With Quote