Hi,

Maybe your server thinks it's a document?  Possible causes:

1. You've used the wrong extension on your script.  Some require the extension
to be '.cgi'.
2. Your script isn't in the correct cgi directory, which is usually /cgi-bin.

Hope this helps,
Francis

Prachi Shroff wrote:

> Hi,
>
> I have a perl script and designed a simple web page for its front
> end.......but this package is running on a single machine and not connected
> to any server. when the form on the HTML page is submitted, it should run
> the perl script specified in the ACTION field of the form. Now, the problem
> is, when I submit the form it shows the code of the perl script instead of
> running the script and showing results.
>
> I think I am missing something......can anyone help?
>
> thanks,
> Prachi
>
> Below is the HTML code.......am I missing something?
>
> <html>
>
> <head>
>
> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
> <title>New Page 1</title>
> </head>
>
> <body>
>
> <form ENCTYPE="multipart/form-data" method="post" action="try.pl">
>
>   <h1 align="center"><font color="#000080" size="7">The Automated Blast
> Page</font></h1>
>   <hr>
>   <p><br>
>   </p>
>   <p>&nbsp;</p>
>   <p><font size="5">Please enter the file name of the query where all
> sequences are stored :</font></p>
>   <p><input type="file" name="query" size="37">&nbsp;&nbsp;&nbsp;&nbsp;</p>
>   <p>&nbsp;</p>
>   <p>&nbsp;</p>
>   <p><font size="5">Enter the list of species that you would want your
> search to
>   focus :</font></p>
>   <p><textarea rows="12" name="list" cols="41"></textarea></p>
>   <p>&nbsp;</p>
>   <p><font size="5">Enter the path of the folder where the results are to be
>   stored :</font></p>
>   <p><input type="file" name="results"
> size="37">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
>   <p>&nbsp;</p>
>   <p><input type="submit" value="Submit" name="submit">&nbsp;&nbsp;&nbsp;
> <input type="reset" value="Reset" name="reset"></p>
> </form>
>
> </body>
>
> </html>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
> --
> 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