On 14 Oct 98, at 16:40, Chad Zimmerman wrote:
> Hey, I am trying to work on a cron delayed Perl script that will take an
> image from a directory and create the html page for that image. and create
> a calendar page with the latest image added in for that month.
>
> Anyone see something like this or know where I can find some information
> on it?
Well the cron aspect removes it from the cgi territory. Be sure your
paths are correct on this.
It doesn't sound too difficult. I wonder if the image is unique to a
directory or not. You can certainly test for newest image.
Creating the html page for the image is easy.
The calendar page throws me a bit. Is it just for a month? Will you
have like links to every month for a certain year and then for each
month you list the images added? Sounds easy.
Hardest part is always deciding what you really want to do.
Here are some things that might assist:
Go here:
http://www.germantown.net/Pen-Pal/index.html
and look for the add photo button. Go ahead and add whatever you
want. You upload the picture, decide alt tags/comments and an html
page is created to display your image. Go here to see the list of
html pages which contain images that have been uploaded:
http://www.germantown.net/pictures/
To do the file upload I modified the script below
> # File Upload Script Version 5.01
> # Created by Jeff Carnahan [EMAIL PROTECTED]
> # Created on: 4/8/95 Last Modified on: 02/09/97 12:41
> # Scripts Archive: http://www.terminalp.com/scripts/
You may need a calendar program. Here is something interesting:
http://www.rede.com/samples/calendar.html
Peter
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------