Okay, I'm getting farther along now.  But I still need help from
the list...

I'm using embperl to generate a form based on files in a given
directory.  The problem is that when I hit my script with
netscape, I see the wanted HTML as ascii text instead of seeing
the rendered form.  If I save it as source and reload that
instead (using file:), then I see it correctly as a form.

Here's the script:

--------cut-------------
<html>
<head><title>a simple example</title></head>
<body>

<form method="post" action="http://mixing/embperl/form-parse" 
      enctype="application/x-www-form-urlencoded">
<p>
Process all files, or only those listed below?
<select name="All">
 <option  value="All">All
 <option selected value="Listed">Listed
</select>

<p>Select files to process here:<p>
[* while (<../../../../data/missions/iml99-17/cnv/0.2dbar/*.cnv>) { *]
[* /.*\/(.*).cnv/; *]
<input type="checkbox" name="words" value="[+$1+]">[+$1+]<br>
[* } *]
<p>
<input type="submit" name=".submit">
<input type="hidden" name=".cgifields" value="words">
</form>
<hr>
</body>
</html>
--------cut-------------

Thanks again for the help.
-- 
Peter Galbraith, research scientist          <[EMAIL PROTECTED]>
Maurice Lamontagne Institute, Department of Fisheries and Oceans Canada
P.O. Box 1000, Mont-Joli Qc, G5H 3Z4 Canada. 418-775-0852 FAX: 775-0546
    6623'rd GNU/Linux user at the Counter - http://counter.li.org/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to