Yeah, i supose they don't, given that i only got a 300 mb partition for all my documents. But I know that phpinfo gives a lot of info when i access my web (it tells my user agent string, some apache i don't know tells my user agent string too, and many more things like time), so could i write a program to take that lines in real time and simply work with them? I mean (in c)
CODE
char string[80], string2[20],string3[20],string4[20];
pf*=phpfile;
pm*=mystatsfile;
fopen(pf, "r");
fscanf(pf,string);
while(strcmp(string, "user-agent")!=1)
fscanf(pf,string);
for(int i=0, j=0;string[i]!='.';i++;){
string[i]=fgetchar(pf);
if(string[i]=' '){
j=i;
fseek(string, i-j, SEEK_CUR);
sscanf(string, string2);
if(strncmp(string2,7,"firefox")){
fopen(pm, "r+");
fscanf(pm,string3);
while(strcmp(string3,"firefox")!=1)
fscanf(pm,string3);
fscanf(pm, & int k);
fprintf(pm,"%c%d", \backspace, k++);
fclose(pm);
}
else if(strncmp(string2,5,"opera")){
fopen(pm, "r+");
fscanf(pm,string3);
while(strcmp(string3,"opera")!=1)
fscanf(pm,string3);
fscanf(pm, & int k);
fprintf(pm,"%c%d", \backspace, k++);
fclose(pm);
}
else if(strncmp(string2, 4, "msie")){
fopen(pm, "r+");
fscanf(pm,string3);
while(strcmp(string3,"IE")!=1)
fscanf(pm,string3);
fscanf(pm, & int k);
fprintf(pm,"%c%d", \backspace, k++);
fclose(pm);
}
else{
fopen(pm, "r+");
fscanf(pm,string3);
while(strcmp(string3,"Unknown")!=1)
fscanf(pm,string3);
fscanf(pm, & int k);
fprintf(pm,"%c%d", \backspace, k++);
fclose(pm);
}
}
The same could go for operating system, user agent, time,
referer, i'm really interested, etc.