In GraphData(..) function add a variable:
time_t WriteTime;
Give the value:
WriteTime = time(NULL);
And display it:
gdImageString(im, gdFontSmall, 2*XWIDTH/3,YHEIGHT-20,
ctime(&WriteTime),black);
Perhaps you want put the "Peak rate" at:
gdImageString(im, gdFontSmall, XWIDTH/3+XOFFSET/2,
YHEIGHT-20, Buffer2, black);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=661106
I mean the hour increments.
Logged In: YES
user_id=863707
I should probably at least add a label every four hours or so...
Logged In: YES
user_id=570538
In GraphData(..) function add a variable:
time_t WriteTime;
Give the value:
WriteTime = time(NULL);
And display it:
gdImageString(im, gdFontSmall, 2*XWIDTH/3,YHEIGHT-20,
ctime(&WriteTime),black);
Perhaps you want put the "Peak rate" at:
gdImageString(im, gdFontSmall, XWIDTH/3+XOFFSET/2,
YHEIGHT-20, Buffer2, black);