Rich Bowen wrote:
>
> Empty wrote:
> >
> > Erk!
> >
> > Does anyone know which part of Matt Wrongs wwwboard script is causing the
> > error? I'd muchly like to kludge the one I inherited on the webserver, as
> > hunting down a substitute or rewrting the whole thing is simply not workable
> > with my schedule...
>
> Grep the code for 1900, and that should find the offending lines.
Ack. My error. Grep the code for 19, not 1900
The problem is when he does
$year = "19" . $year;
or similar, when he should be doing
$year += 1900;
or similar.
Rich
--
http://www.ApacheUnleashed.com/
Lexington Perl Mongers - http://lexington.pm.org/
PGP Key - http://www.rcbowen.com/pgp.txt