Hi, I installed lls program on my computer so I could test my asp scripts. I got this code from MS web site and tried running it. When I hit the submit button on the htm page all I get is the asp page source code showing and not the input name that is typed on the htm page. Any help is appreciated. Thanks, GM htm: <HTML> <HEAD><TITLE>ASP Application</TITLE></HEAD> <BODY BGCOLOR=white> <H1>ASP Application</H1> <HR> Type your name <FORM METHOD=POST ACTION=Output.asp> <INPUT TYPE=TEXT NAME="username"> <INPUT TYPE=SUBMIT> </FORM> </BODY> asp: <HTML> <HEAD><TITLE>ASP Application</TITLE></HEAD> <BODY BGCOLOR=white> <P>You typed: <% NAME=REQUEST.FORM("username") RESPONSE.WRITE(NAME) %> </P> </BODY> </HTML>
are you running the page from IIS or you running it from a local directory? seems like your running it from a local directory and that is going to be the result that it will try to download the asp file, you need to be running IIS and run the script/page through http://localhost/...
If your address bar says the file path instead of http://localhost/ then you are not making any requests to IIS, you're just viewing the pages with the browser. Try placing the files in c:\inetpub\wwwroot\. By default, this is the root of the default website in IIS. Then in your browser, navigate to: http://localhost/WhateverYouNamedThis.htm
It worked after I just typed in the browser http:\\localhost\input.htm. I was typing the full path earlier and that didn't work. Thanks for your help