Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help me to learn asp

Status
Not open for further replies.

vinkesh

Technical User
Aug 4, 2003
9
0
0
IN
wassup every1.

i would like a huge favor from u guys.
i have just now started learning asp and so i have no idea how it works.although i am going through a lot of stuff/website no one gives proper examples.
if u could, can u please send me a simple login code...it should take the username and password and check it with a database and redirect.

please send me the html,asp & database and instructions to run it.

thanks a lot guys.
take care
 
thanks a lot guys.

i thought i will start with the basics of it and i got this piece of code.
the problem is, i am getting an error.
it says that the url could not be found and that its a zero sized reply.

if u could help me out.

thanks a bunch.




<html>
<%
dim cars
cars=Request.Form(&quot;cars&quot;)
%>
<body>
<form action=&quot;demo_radiob.asp&quot; method=&quot;post&quot;>
<p>Please select your favorite car:</p>

<input type=&quot;radio&quot; name=&quot;cars&quot;
<%if cars=&quot;Volvo&quot; then Response.Write(&quot;checked&quot;)%>
value=&quot;Volvo&quot;>Volvo</input>
<br />
<input type=&quot;radio&quot; name=&quot;cars&quot;
<%if cars=&quot;Saab&quot; then Response.Write(&quot;checked&quot;)%>
value=&quot;Saab&quot;>Saab</input>
<br />
<input type=&quot;radio&quot; name=&quot;cars&quot;
<%if cars=&quot;BMW&quot; then Response.Write(&quot;checked&quot;)%>
value=&quot;BMW&quot;>BMW</input>
<br /><br />
<input type=&quot;submit&quot; value=&quot;Submit&quot; />
</form>
<%
if cars<>&quot;&quot; then
Response.Write(&quot;<p>Your favorite car is: &quot; & cars & &quot;</p>&quot;)
end if
%>
</body>
</html>
 
yes gary i am actually saving it as demo_radiob.asp
 
i am using simple server and it is pointing to demo_radiob.asp

so ...
then i get the html page.
when i submit button that time i get the error
 
This is the exact error..

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL:
The following error was encountered:

Zero Sized Reply
Squid did not receive any data for this request.

Your cache administrator is root
 
I've never heard of Squid but from searching Google this seems to be more to do with PHP??
If you're using Windows then install IIS, if your version of windows doesn't have it then use PWS. (What version of windows are you using)

 
Its microsoft windows 2000

and what is IIS... is it a freeware or something
 
i have installed IIS but it did not solve the problem. :-(
 
i have not removed squid. how do i do that.
the error is the same. no change there
 
Goto Control Panel and Add/Remove Programs. If it's the same error then it's still using Squid as your server, you will probably have to restart your machine as well and may have to uninstall and reinstall IIS after you have removed Squid to be sure there are no conflicts.

 
hey
i am going home now.
will try it out 2morrow and let u know the result.
THANKS A LOT for ur patience.

bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top