CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
Looking for a script that makes flowers grow

 



lboshell
Deleted

Oct 29, 2000, 6:16 PM

Post #1 of 3 (829 views)
Looking for a script that makes flowers grow Can't Post

Hi!

I am in search of a script that will say like make a flower grow from a flower pot over the course of a month! Can someone please HELP!!! I'd greatly appreciate it!! Thanks!

Laura :o)


perlkid
stranger

Oct 29, 2000, 7:28 PM

Post #2 of 3 (829 views)
Re: Looking for a script that makes flowers grow [In reply to] Can't Post

 Well, You can make a perl file with this code in it, and it will print whatever statement you want for that month.

#!/usr/bin/perl
print "Content-type: text/html\n\n";
@time=localtime;
$month = $time[4];
$year = $time[5] + 1900;
if ($month eq "9" && $year eq "2000"){
print "Something About A Flower Growing";
}
exit;

That will print that statement through out the whole month of October of 2000.

The months start at 0 in perl, so 0 is January, and 11 is December.

Is this what you wanted?

perlkid

[This message has been edited by perlkid (edited 10-29-2000).]


lsommerer
Deleted

Oct 30, 2000, 10:46 PM

Post #3 of 3 (829 views)
Re: Looking for a script that makes flowers grow [In reply to] Can't Post

Do you mean a graphic of a flower pot from which --over the course of a month-- a flower "grows"?

If that's the case, there are picture of the day scripts that you could use. Just make 30 (or whatever) graphics showing the stages of growth and let the script insert the new one each day.

Or maybe I have no idea what you're really asking.

Lloyd Sommerer

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives