IN LINE.
FYI there are two identical scripts. count.pl and count.cgi.

> let me get that straight:
> if the script has a .pl extension, your browser tries to 
> download it even 
> with the '?whatever' portion append at the end

        No. If enter the script into the browser window as follows then
it runs.
        http://mymachine/test/cgi/count.pl
        If I enter the script into the browser window as follows then it
displays my source.
        http://mymachine/test/cgi/count.cgi

        If I call the same script from a form with this command either
with or without the ?whatever 
        then it tries to download.
        form method="POST" name="Form 1"
action="c:\inetpub\wwwroot\test\cgi\count.pl?whatever">

        
> if the script has a .cgi extension, the source code of the script is 
> displayed even with the '?whatever' portion append at the end

        Yes. If I call the script with this command with or without the
?whatever it simply displays my source code.
        form method="POST" name="Form 1"
action="c:\inetpub\wwwroot\test\cgi\count.cgi?whatever">

> if you run your scripts in a DOS windows with just its name like:
> c:\whatever>your_script.pl
        This runs the script just fine.

> c:\whatever>your_script.cgi
        Does not run my script.


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

Reply via email to