>
> 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.
>

You must tell your browser the correct MIME type, looks like the following
is missing from your httpd.conf:

AddType text/html .epl

Of course you have to exchange .epl by the extention you are using

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925151
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




> 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]
>
>
>


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

Reply via email to