GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 08-Aug-2005, 03:35
oozsakarya oozsakarya is offline
New Member
 
Join Date: May 2005
Posts: 26
oozsakarya is on a distinguished road
Exclamation

Help about asp


I have a problem in Asp. I am giving the code below.

<html>

<head>
<meta http-equiv="Content-Language" content="tr">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>Yeni Sayfa 2</title>
</head>

<body>
<%dim ad,soyad,email,sifre,sifre2,bilgi

ad=request.form("T6")
soyad=request.form("T2")
email=request.form("T3")
sifre=request.form("T4")
sifre2=request.form("T5")
bilgi=request.form("R1")

if sifre=sifre2 then
response.write "<b>"&"ADI :"&"</B>"&ad&"<br>"
response.write "<b>"&"SOYADI :"&"</B>"&soyad&"<br>"
response.write "<b>"&"e-mail :"&"</B>"&email&"<br>"
response.write "<b>"&"SİFRE :"&"</B>"&sifre&"<br>"
response.write "<b>"&"BİLGİ :"&"</B>"&bilgi&"<br>"
else response.redirect ("form1.asp")
end if

%>
<p>Bilgileri onaylıyor musunuz? </p>
<form method="POST" action="--WEBBOT-SELF--" >
<!--webbot bot="SaveResults" u-file="fpweb:///_private/form_results.csv" s-format="TEXT/CSV" s-label-fields="TRUE" --><p>
<input type="radio" value=1 name="R1">Evet&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="R1" value="2">Hayır&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;

<input type="submit" value="Gönder" name="hayır"></p>


</form>

<% if R1=1 then
response.redirect("http://www.mynet.com")

else
response.redirect ("http://www.yahoo.com")

end if
%>
</body>

</html>


According to value of R1, I want to redirect to mynet or yahoo. But always yahoo is calling. Can you help me???
 
 

Recent GIDBlogProblems with the Navy (Chiefs) by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 19:41.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.