Pages: [1] 2 3 4 5
Tags: 011 014 100 86400 ADDR AGENT ENV F2C973 KAT PID REFERER REALNAME STATDB STATLOG STATOLDLOG STATUSOLDLOG USERNAME ABSTIME ACTIONPID ADDBANNEDIP ADMIN ALT AMP APP APPROX BACKUP BANSLOG BGCOLOR BIN BINGO BLABLA BLABLA2 BTN CGI COM CREATIONTIME DOESNT ELSIF FOREACH GETDATE GETHOSTBYADDR GIF IMG IMSEND LOGDIR LOGFILENUM MIN MLAPP MODA MON MOREBLABLA NAVBAR NUM PAGETURL PAGEURL PNG QUOT REC SABSTIME SAGENT SAVEYEAR SCRYPTURL SDATE SHOST SNAME1 SNAME2 SOURCEDIR SPIDANDTIME SPROTOCOLS SRANK SRC SREFER SREQUEST SROOT SSCRIPTNAME STARTDATE STATLOGHACK STATSLOG STATSSLOG TXT UNLINK UPLOADS USERRANK USERSTAT YOURSITE
  Author: Topic: Stats log and a viewer- a plugin to try
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 10:35:44

Example:


Stats log and a viewer- a plugin to try
It records approx. 20 parameters from the users visit!! It doesnt slow down the page but tends to get very large, will find a way to make it deleting itself upon demand or automaticly.

1.)
Add userstat(); to header.pl over logo_block();

2.) Add this two subs to subs.pl

Updated this code now!


code:

################
sub userstat {
################

getdate();
$ip_address = $ENV{'REMOTE_ADDR'};
                      @numbers = split(/\./, $ip_address);
                      $ip_number = pack("C4", @numbers);
                      $host = (gethostbyaddr($ip_number, 2))[0];

if (! $realname) { $realname = "Guest"; }
if (! $userrank) { $userrank = "Guest"; }
if (! $host) { $host = "-"; }
if (! $ENV{QUERY_STRING}) { $ENV{QUERY_STRING} = "-"; }                      
if (! $ENV{REMOTE_HOST}) { $ENV{REMOTE_HOST} = "-"; }
if (! $ENV{QUERY_STRING}) { $ENV{QUERY_STRING} = "-"; }
if (! $ENV{'HTTP_REFERER'}) { $ENV{'HTTP_REFERER'} = "-"; }
if (! $ENV{HTTP_ACCEPT_LANGUAGE}) { $ENV{HTTP_ACCEPT_LANGUAGE} = "-"; }
if (! $ENV{script_NAME}) { $ENV{script_NAME} = "-"; }
if (! $ENV{GATEWAY_INTERFACE}) { $ENV{GATEWAY_INTERFACE} = "-"; }
if (! $ENV{REQUEST_METHOD}) { $ENV{REQUEST_METHOD} = "-"; }
if (! $ENV{script_NAME}) { $ENV{script_NAME} = "-"; }
if (! $ENV{DOCUMENT_ROOT}) { $ENV{DOCUMENT_ROOT} = "-"; }
if (! $ENV{REQUEST_METHOD}) { $ENV{REQUEST_METHOD} = "-"; }
if (! $ENV{CONTENT_TYPE}) { $ENV{CONTENT_TYPE} = "-"; }
if (! $ENV{HTTP_USER_AGENT}) { $ENV{HTTP_USER_AGENT} = "-"; }

$abstime = $^T;
$actionpid = $$;




open(REF, ">>$logdir/status.txt");
hold(REF);
print REF ("$mday-$mon_num-$saveyear$hour\:$min$abstime$actionpid$ENV{SERVER_PORT}/$ENV{REMOTE_PORT}$username$realname$userrank$host$ip_address$ENV{HTTP_USER_AGENT}$ENV{HTTP_ACCEPT_LANGUAGE}$ENV{HTTP_REFERER}$ENV{REQUEST_METHOD}$ENV{SERVER_PROTOCOL}$ENV{GATEWAY_INTERFACE}$ENV{DOCUMENT_ROOT}$ENV{script_NAME}$ENV{QUERY_STRING}$ENV{CONTENT_TYPE}\n");
release(REF);
close(REF);


# Kat's idea to make a once a week a backup file and delete this big file!

open (STATLOG,"<$logdir/status.txt");
  @STATDB=<STATLOG>;
  close (STATLOG);

  ($blabla, $blabla2, $bingo, $moreblabla) = split(/\/, $STATDB[0]);
    $creationtime = "$bingo";
    $secpassed = $^T - $bingo;
    $dayspassed = $secpassed / 86400;
    $startdate = $blabla;
     
    if ($dayspassed > 7){          
`cp  $logdir/status.txt  $logdir/$mday-$mon_num-$saveyear.txt`;
unlink("$logdir/status.txt");          

#option to those of you that just want the file to be deleted after a week, change above three lines with this:
#   if ($dayspassed > 7){          
#unlink("$logdir/status.txt");    
#also delete the lines under..

#open (STATOLDLOG,">>$logdir/statusoldlog.txt");
#hold(STATOLDLOG, ">>$logdir/statusoldlog.txt");
#print  ("$mday-$mon_num-$saveyear.txt\n");
#release(STATOLDLOG);
#close(STATOLDLOG);

}          
   
}



###############
sub statslog {
###############
open (STATLOG,"<$logdir/status.txt");
  @STATDB=<STATLOG>;
  close (STATLOG);

  ($blabla, $blabla2, $bingo, $moreblabla) = split(/\/, $STATDB[0]);


#$logfilenum = $info{'logfilenum'};
#if (!defined $logfilenum) { $logfilenum = "status.txt"; }

#only admin may view the stats log!
   
if ($username ne "admin") { error("$err{'011'}"); }

#open the stats log file
   

#start making the page
  $navbar = "$btn{'014'} Stats Log $btn{'014'} $blabla - $mday-$mon_num-$saveyear";
  print_top();

  #if (-e $logdir/statusoldlog.txt){
  #open (STATOLDLOG,"<$logdir/statusoldlog.txt");
  #@STATUSOLDLOG=<STATOLDLOG>;
  #close (STATOLDLOG);    
   
#}

open (STATLOG,"<$logdir/status.txt");
  @STATDB=<STATLOG>;
  close (STATLOG);    
     
  print qq~
<table width='100%' border='1'>
<tr>
<td bgcolor="#F2C973"><font color="#F2C973">______</font><br><font size="1">Date:<br>Time:</font></td>
<td bgcolor="#F2C973"><font size="1">PID:<br>Server Time:<br>Server/Remote ports:</font></td>
<td bgcolor="#F2C973"><font size="1">Username:<br>Realname:<br>Rank:</font></td>
<td bgcolor="#F2C973"><font size="1">User host:<br>User IP:</font></td>
<td bgcolor="#F2C973"><font size="1">User agent:<br>Language:</font></td>
<td bgcolor="#F2C973"><font size="1">Referer:<br>script name:<br>Gateway interface:<br>Document root:</font></td>
<td bgcolor="#F2C973"><font size="1">Query:<br>Protocol:<br>Method:</font></td>
</tr>
~;



#fill up the table!
  foreach $rec (@STATDB){
     chomp($rec);
     ($sdate,$clock,$sabstime,$spidandtime,$sports,$sname1,$sname2,$srank,$shost,$sip,$sagent,$slang,$srefer,$sprotocols,$srequest,$method,$sgateway,$sroot,$sscriptname,$squery) = split(/\/,$rec);
     print qq~<tr>
<td><font size="1">$sdate<br>$clock</td>
<td><font size="1">$spidandtime<br>$sabstime<br>$sports  </font></td>
<td><font size="1">$sname1<br>$sname2<br>$srank </font>~; if ($sname1 ne "Guest"){ print qq~<a href=$pageurl/index.cgi?action=imsend&to=$sname1><img src="http://www.mlapp.org/images/message.gif" border="0" alt="Send IM to $sname2"></a>~; } print qq~</td>
<td><font size="1">$shost<br>$sip</font><form action="$pageturl/cgi-bin/index.cgi?action=admin&op=addbannedip"  method="post"><input type="hidden" name="ipaddress" value="$sip">  <input type="image" name="moda" src="http://www.mlapp.org/images/noentry.gif" border="0"> </form></td>
<td><font size="1">$sagent<br>$slang </font></td>
<td><font size="1">$srefer~;  if ($srefer ne "-"){ print qq~<a href=$srefer><img src="http://www.mlapp.org/images/visit.gif" border="0" alt="Visit $srefer"></a>~; } print qq~<br>$sscriptname<br>$sgateway<br>$sroot </font></td>
<td><font size="1">$squery<br>$srequest<br>$sprotocols<br> </font></td>
</tr>
~;


  }
print qq~</table>~;
}








3.) Add this to index.cgi under #banslog


code:

#statsslog
   elsif ($action eq "statslog") { require "$sourcedir/subs.pl";  statslog(); }




Add this code somewhere or memorize the link under :)


code:
<p><a href=$scripturl/$cgi?action=statslog>statslog</a></p>



Link to remember:
http://www.yoursite.com... external link

Will add a complete control panel for it in site admin when the script is done. Will also add backup and delete files functions when its approved.







"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline Kat
Last Visit: 12/15/08

Moderator
Dev
Joined: 03/24/02
Forum Posts: 4344
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 11:58:33

I like it. I like it. I like it. grin

I can see how the files could get rather large, but the webmaster could always just delete the big one and start fresh.



Experimentation is the Key to all Great Discoveries - Kat grin
Logged
     
offline bantychick
Last Visit:

Guest
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 12:48:54

Oh wow, On! Nice job! All the indents are so neat, and all the values that might be blank at times are filled in with defaults. My goodness what a relief that is to see such nice neat subs!

I was wondering why we can't call the sub from index.cgi with the other things. Wouldn't that work just as well?
Logged
     
offline Kat
Last Visit: 12/15/08

Moderator
Dev
Joined: 03/24/02
Forum Posts: 4344
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 13:26:48


bantychick wrote:
I was wondering why we can't call the sub from index.cgi with the other things. Wouldn't that work just as well?


You can, just add a link in your sub member_panel
i.e.

code:
if ($username eq "admin") {
           menuitem("statslog", "$nav{'200'}");
   }



Be sure to add a $nav{'200'} to your .lng file.



Experimentation is the Key to all Great Discoveries - Kat grin
Logged
     
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 13:31:54

Grrrr.. because the $ctime is corrupted (most likely because its being "abused" localy somewhere else!), had to write my own time routine! Will send Kat the bill! lol

Anyway please do not use the above codes, will post soon a much better one that will create a zipped backup of the file once a week and will empty it! :)







"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline Kat
Last Visit: 12/15/08

Moderator
Dev
Joined: 03/24/02
Forum Posts: 4344
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 13:36:13

I'm already using the code above for now and its fine.
dancing-bananadancing-bananadancing-banana


What do you call a fish with no eyes? A fsh.





Experimentation is the Key to all Great Discoveries - Kat grin
Logged
     
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 14:50:46

Ok done!
This is what you pay for:

1.) This routine will register atleast 18 paramters for any user vising your site.

2.) After a week exactly (by the sec! wink as requested) it will copy itself into day.month.year.txt file within the logdir db/stats (shouldnt be a great problem to make all these logs to go to a subfoler..but what for).

3.) It would staright after that delete the log file starting from 0 again :)



code:

################
sub userstat {
################

getdate();
$ip_address = $ENV{'REMOTE_ADDR'};
                      @numbers = split(/\./, $ip_address);
                      $ip_number = pack("C4", @numbers);
                      $host = (gethostbyaddr($ip_number, 2))[0];

if (! $realname) { $realname = "Guest"; }
if (! $userrank) { $userrank = "Guest"; }
if (! $host) { $host = "-"; }
if (! $ENV{QUERY_STRING}) { $ENV{QUERY_STRING} = "-"; }                      
if (! $ENV{REMOTE_HOST}) { $ENV{REMOTE_HOST} = "-"; }
if (! $ENV{QUERY_STRING}) { $ENV{QUERY_STRING} = "-"; }
if (! $ENV{'HTTP_REFERER'}) { $ENV{'HTTP_REFERER'} = "-"; }
if (! $ENV{HTTP_ACCEPT_LANGUAGE}) { $ENV{HTTP_ACCEPT_LANGUAGE} = "-"; }
if (! $ENV{script_NAME}) { $ENV{script_NAME} = "-"; }
if (! $ENV{GATEWAY_INTERFACE}) { $ENV{GATEWAY_INTERFACE} = "-"; }
if (! $ENV{REQUEST_METHOD}) { $ENV{REQUEST_METHOD} = "-"; }
if (! $ENV{script_NAME}) { $ENV{script_NAME} = "-"; }
if (! $ENV{DOCUMENT_ROOT}) { $ENV{DOCUMENT_ROOT} = "-"; }
if (! $ENV{REQUEST_METHOD}) { $ENV{REQUEST_METHOD} = "-"; }
if (! $ENV{CONTENT_TYPE}) { $ENV{CONTENT_TYPE} = "-"; }
if (! $ENV{HTTP_USER_AGENT}) { $ENV{HTTP_USER_AGENT} = "-"; }

$abstime = $^T;
$actionpid = $$;




open(REF, ">>$logdir/status.txt");
hold(REF);
print REF ("$mday-$mon_num-$saveyear$hour\:$min$abstime$actionpid$ENV{SERVER_PORT}/$ENV{REMOTE_PORT}$username$realname$userrank$host$ip_address$ENV{HTTP_USER_AGENT}$ENV{HTTP_ACCEPT_LANGUAGE}$ENV{HTTP_REFERER}$ENV{REQUEST_METHOD}$ENV{SERVER_PROTOCOL}$ENV{GATEWAY_INTERFACE}$ENV{DOCUMENT_ROOT}$ENV{script_NAME}$ENV{QUERY_STRING}$ENV{CONTENT_TYPE}\n");
release(REF);
close(REF);


# Kat's idea to make a once a week a backup file and delete this big file!

open (STATLOG,"<$logdir/status.txt");
  @STATDB=<STATLOG>;
  close (STATLOG);

  ($blabla, $blabla2, $bingo, $moreblabla) = split(/\/, $STATDB[0]);
    $creationtime = "$bingo";
    $secpassed = $^T - $bingo;
    $dayspassed = $secpassed / 86400;
    $startdate = $blabla;
     
    if ($dayspassed > 7){          
`cp  $logdir/status.txt  $logdir/$mday-$mon_num-$saveyear.txt`;
unlink("$logdir/status.txt");          

#option to those of you that just want the file to be deleted after a week, change above three lines with this:
#   if ($dayspassed > 7){          
#unlink("$logdir/status.txt");    
#also delete the lines under..

#open (STATOLDLOG,">>$logdir/statusoldlog.txt");
#hold(STATOLDLOG, ">>$logdir/statusoldlog.txt");
#print  ("$mday-$mon_num-$saveyear.txt\n");
#release(STATOLDLOG);
#close(STATOLDLOG);

}          
   
}



###############
sub statslog {
###############
open (STATLOG,"<$logdir/status.txt");
  @STATDB=<STATLOG>;
  close (STATLOG);

  ($blabla, $blabla2, $bingo, $moreblabla) = split(/\/, $STATDB[0]);


#$logfilenum = $info{'logfilenum'};
#if (!defined $logfilenum) { $logfilenum = "status.txt"; }

#only admin may view the stats log!
   
if ($username ne "admin") { error("$err{'011'}"); }

#open the stats log file
   

#start making the page
  $navbar = "$btn{'014'} Stats Log $btn{'014'} $blabla - $mday-$mon_num-$saveyear";
  print_top();

  #if (-e $logdir/statusoldlog.txt){
  #open (STATOLDLOG,"<$logdir/statusoldlog.txt");
  #@STATUSOLDLOG=<STATOLDLOG>;
  #close (STATOLDLOG);    
   
#}

open (STATLOG,"<$logdir/status.txt");
  @STATDB=<STATLOG>;
  close (STATLOG);    
     
  print qq~
<table width='100%' border='1'>
<tr>
<td bgcolor="#F2C973"><font color="#F2C973">______</font><br><font size="1">Date:<br>Time:</font></td>
<td bgcolor="#F2C973"><font size="1">PID:<br>Server Time:<br>Server/Remote ports:</font></td>
<td bgcolor="#F2C973"><font size="1">Username:<br>Realname:<br>Rank:</font></td>
<td bgcolor="#F2C973"><font size="1">User host:<br>User IP:</font></td>
<td bgcolor="#F2C973"><font size="1">User agent:<br>Language:</font></td>
<td bgcolor="#F2C973"><font size="1">Referer:<br>script name:<br>Gateway interface:<br>Document root:</font></td>
<td bgcolor="#F2C973"><font size="1">Query:<br>Protocol:<br>Method:</font></td>
</tr>
~;



#fill up the table!
  foreach $rec (@STATDB){
     chomp($rec);
     ($sdate,$clock,$sabstime,$spidandtime,$sports,$sname1,$sname2,$srank,$shost,$sip,$sagent,$slang,$srefer,$sprotocols,$srequest,$method,$sgateway,$sroot,$sscriptname,$squery) = split(/\/,$rec);
     print qq~<tr>
<td><font size="1">$sdate<br>$clock</td>
<td><font size="1">$spidandtime<br>$sabstime<br>$sports  </font></td>
<td><font size="1">$sname1<br>$sname2<br>$srank </font>~; if ($sname1 ne "Guest"){ print qq~<a href=$pageurl/index.cgi?action=imsend&to=$sname1><img src="http://www.mlapp.org/images/message.gif" border="0" alt="Send IM to $sname2"></a>~; } print qq~</td>
<td><font size="1">$shost<br>$sip</font><form action="$pageturl/cgi-bin/index.cgi?action=admin&op=addbannedip"  method="post"><input type="hidden" name="ipaddress" value="$sip">  <input type="image" name="moda" src="http://www.mlapp.org/images/noentry.gif" border="0"> </form></td>
<td><font size="1">$sagent<br>$slang </font></td>
<td><font size="1">$srefer~;  if ($srefer ne "-"){ print qq~<a href=$srefer><img src="http://www.mlapp.org/images/visit.gif" border="0" alt="Visit $srefer"></a>~; } print qq~<br>$sscriptname<br>$sgateway<br>$sroot </font></td>
<td><font size="1">$squery<br>$srequest<br>$sprotocols<br> </font></td>
</tr>
~;


  }
print qq~</table>~;
}







I know its not exactly what you asked for, but right now its better than what it was before (just an ccumulating file!)





"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 14:54:08



Kat wrote:
What do you call a fish with no eyes? A fsh.

http://www.web-app.net ... external link



lol





"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 15:00:28



bantychick wrote:
Oh wow, On! Nice job! All the indents are so neat, and all the values that might be blank at times are filled in with defaults. My goodness what a relief that is to see such nice neat subs!

I was wondering why we can't call the sub from index.cgi with the other things. Wouldn't that work just as well?



Had the same problem :)
header.pl works fine it worked here too as far as I can remember when Carter installed it.

Please note that the new code is much better! It also places the paramters (approx. 20 of them!) in a clearer way.






"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 15:23:46

One more thing..

Added this and other security plugins at:
http://www.mlapp.org... external link

I hope no one has any objection against it. If there is then I will remove it.





"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline Kat
Last Visit: 12/15/08

Moderator
Dev
Joined: 03/24/02
Forum Posts: 4344
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 16:57:00



On wrote:
One more thing..

Added this and other security plugins at:
http://www.mlapp.org... external link

I hope no one has any objection against it. If there is then I will remove it.


I don't have any objections.



Experimentation is the Key to all Great Discoveries - Kat grin
Logged
     
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 17:07:19



Kat wrote:

On wrote:
One more thing..

Added this and other security plugins at:
http://www.mlapp.org... external link

I hope no one has any objection against it. If there is then I will remove it.
I don't have any objections.



Thanks.

By the way adding a viewer now the old log files and squeezing the table even more..





"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline Kat
Last Visit: 12/15/08

Moderator
Dev
Joined: 03/24/02
Forum Posts: 4344
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 17:07:48

Just applied the newer code. Guess I will know in about a week.

Kat





Experimentation is the Key to all Great Discoveries - Kat grin
Logged
     
offline Kat
Last Visit: 12/15/08

Moderator
Dev
Joined: 03/24/02
Forum Posts: 4344
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 17:11:29


By the way adding a viewer now the old log files and squeezing the table even more..


Kewldancing-banana



Experimentation is the Key to all Great Discoveries - Kat grin
Logged
     
offline On
Last Visit: 05/20/06

Level 7
Dev
Joined: 06/19/03
Forum Posts: 6737
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 17:30:33



Kat wrote:
Just applied the newer code. Guess I will know in about a week.

Kat




Nah.. make it simplier :)

reverse the >  thus if less.. then 7 days start backup progress..

But it will back up every sec..

But worths trying just to know that it works :)





"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
(Damian Conway from the book Perl Best Practices).



[*]LANGUAGE FILES (and language support) -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP SECURITY PATCHES -> http://www.mlapp.org... external link
[*]FOR THE LATEST WEB-APP MODS (addons) -> http://www.web-app.net... external link  /perl/webapp/modapp/
[*]FOR THE LATEST VERSION OF STATSLOG script (security addon) -> http://www.mlapp.org... external link
[*]TO CONTACT ME CLICK HERE-> info@mlapp.org OR VISIT-> http://www.mlapp.org... external link
 


[/center]
Logged
       
offline Kat
Last Visit: 12/15/08

Moderator
Dev
Joined: 03/24/02
Forum Posts: 4344
 Re: Stats log and a viewer- a plugin to try
 Posted on: 04/09/05 at 17:45:00



On wrote:
Nah.. make it simplier :)

reverse the >  thus if less.. then 7 days start backup progress..

But it will back up every sec..

But worths trying just to know that it works :)



Hey that works great.
On it's a good thing I trust You. Normally I go thru every byte of the code to check for hidden things and You know what I'm refferring to.
I didn't do much looking this time, so thanks for pointing out the > and <.

This just keeps getting better and better.

dancing-bananadancing-bananaKatdancing-bananadancing-banana



Experimentation is the Key to all Great Discoveries - Kat grin
Logged
     

  Stats log and a viewer- a plugin to try
  Version 2.0 announcements
  Forums
  
Pages: [1] 2 3 4 5
Hop to: