Danielle Gallo ([EMAIL PROTECTED]; Wednesday, August 14, 2002 12:53 PM):

> I want to include week options in my query form.  However, I'm not
> sure how to pass these to the Perl script.  For example, I want to
> have:

> <option>Week 1</option>
> <option>Week 2</option>

> Week 2's logs may have been archived.  For example, if Week 2 is 22
> June 2002, then the log will be found in
> apache/logs/2002/06/access_log.22.

> How do I configure the form (or I guess I have to edit the Perl
> script) to deal with the weeks and look in the right place for the
> logs?

You can do this from the form. Just set up your options with values
for the logs:

<select name="logfile">
  <option value="apache/logs/2002/06/access_log.15">Week 1</option>
  <option value="apache/logs/2002/06/access_log.22">Week 2</option>
</select>



-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/[email protected]/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to