Subject: Re: Did something stupid

From: [email-masked] (Lyn A. Kendrick)
Date: Thu, 18 Jan 1996 11:53:25 MST

I'd just go home if I were you.

> 	Ok I did something realy neat. I used ftpshut and it
> shut down the ftp server.  So now how do I get it back up and 
> running.?
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Kevin A. Hoogheem                  Saint Marys Press
> Asst. Network Admin.               Winona Minnesota
> 507-457-7915                       [email-masked]
> http://wwwsmp.smumn.edu/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>

---

From: Angelos Karageorgiou <[email-masked]>
Date: Thu, 18 Jan 1996 14:36:05 -0500 (EST)

I have fixed a small bug in xferstats in the datecompare function
have you guys seen this ? if not here goes

   $date1  = substr($a, 11, 4) * 365;
   $date2  = substr($b, 11, 4) * 365;
   $date1 += index("JanFebMarAprMayJunJulAugSepOctNovDec",substr($a, 4, 3))*10;
   $date2 += index("JanFebMarAprMayJunJulAugSepOctNovDec",substr($b, 4, 3))*10;
   $date1 += substr($a, 8, 2);
   $date2 += substr($b, 8, 2);
   $date1 - $date2;

this correctly sorts the dates according to the num of dates since 1/1/1 :-)