Re: script problem

by Kevin Waterson <kevin(at)oceania.net>

 Date:  Tue, 7 Jan 2003 17:42:11 +1100
 To:  hwg-techniques(at)hwg.org
 References:  tds
  todo: View Thread, Original
This one time, at band camp,
Michael Muehlendorf <haoka(at)wi.tds.net> wrote:

> #!/usr/bin/perl
> 
> @Months = ("January", "February", "March", "April", "May", "June", "July",
> "August", "September", "October", "November", "December");
> 
> $currmon = (localtime)[4];
> $currmon == 11? $nextmon = 0: $nextmon = $currmon + 1;
> 
> print "Content-type: text/html\n\n";
> 
> print "<.b>$Months[$nextmon]<./b>\n";


<?php echo date ("F", mktime (0,0,0,date(m)+1)); ?>
-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Kevin Waterson
Port Macquarie, Australia

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA