![]() |
|
|||||||
| Web Tasarım İnternet sitesi ile ilgili kodlar, kaynaklar, ipuçları, uygulamalar ve diğer herşey. |
![]() |
|
|
Konu Araçları |
|
|
#1 (permalink) |
|
Katılma Tarihi: Şub 2007
Nereden: İSTANBUL
Yaş: 21
Mesajlar: 1
|
Arkadaşlar elimde bir başvuru formu var yani bir müşterimize ait
Formu netten doldurup gönder dediğimiz zaman textboxlara girilen değerleri okuyamıyo yani gönder dediğimiz zaman maili gönderiyo ama değişkenleri yani isimdir ,soyisimdir,telefondur falan onları içini boş gönderiyo kısacası sorunum mail gönderdiğimizde forumda kullandığım textboxların ,listboxların falan içlerini boş gönderiyo.Size adreside veriyim :: | AVRUPA KONAKLARI | :: bu adresteki iletişim bölümünde başvuru formu linki size kodları gönderiyorum. çok teşekkürler HTML DOSYASI: <script language="JavaScript"> <!-- function openWin(theURL,winName,features) { window.open(theURL,winName,features); } //--> </script> <script type="text/javascript"> var omitformtags=["input", "textarea", "select"] omitformtags=omitformtags.join("|") function disableselect(e){ if (omitformtags.indexOf(e.target.tagName.toLowerCase ())==-1) return false } function reEnable(){ return true } if (typeof document.onselectstart!="undefined") document.onselectstart=new Function ("return false") else{ document.onmousedown=disableselect document.onmouseup=reEnable } </script> <script language=JavaScript> <!-- var message=""; function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!docum ent.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontext menu=clickIE;} document.oncontextmenu=new Function("return false") // --> </script> <script> function hidestatus(){ window.status='' return true } if (document.layers) document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) document.onmouseover=hidestatus document.onmouseout=hidestatus </script> </head> <body> <table width="475" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="10" height="12" background="Resimler/Pop_up_01.jpg"></td> <td height="12" background="Resimler/Pop_up_02.jpg"></td> <td width="10" height="12" background="Resimler/Pop_up_03.jpg"></td> </tr> <tr> <td background="Resimler/Pop_up_04.jpg" width="10"></td> <td background="Resimler/Pop_up_05.jpg"> <table width="450" Height="275" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" border="0" cellspacing="5" cellpadding="3"> <form name="theForm" action="BasvuruFormu2.asp" method="POST"> <tr> <td colspan="4" bgcolor="#f2f2f2"><strong>Online Başvuru Formu </strong><br> Müşteri hizmetlerimizin başvurunuzu değerlendirebilmesi için, lütfen aşağıda sizden istenen bilgileri eksiksiz ve doğru olarak giriniz... </td> </tr> <tr> <td width="25%" bgcolor="#f2f2f2"> Adınız : </td> <td width="25%" bgcolor="#f2f2f2"><input name="a" type="text" class="form" size="23" maxlength="50"></td> <td width="25%" bgcolor="#f2f2f2"> Soyadınız : </td> <td width="25%" bgcolor="#f2f2f2"><input name="s" type="text" class="form" size="23" maxlength="50"></td> </tr> <tr> <td width="25%" bgcolor="#f2f2f2"> Telefon : </td> <td width="25%" bgcolor="#f2f2f2"><input name="t" type="text" class="form" size="23" maxlength="50"></td> <td width="25%" bgcolor="#f2f2f2"> GSM : </td> <td width="25%" bgcolor="#f2f2f2"><input name="g" type="text" class="form" size="23" maxlength="50"> </td> </tr> <tr> <td width="25%" bgcolor="#f2f2f2"> EPosta : </td> <td width="25%" bgcolor="#f2f2f2"><input name="e" type="text" class="form" size="23" maxlength="50"></td> <td width="25%" bgcolor="#f2f2f2"> Doğum Tarihi : </td> <td width="25%" bgcolor="#f2f2f2"><input name="d" type="text" class="form" size="23" maxlength="50"></td> </tr> <tr> <td width="25%" bgcolor="#f2f2f2"> Adres : </td> <td width="75%" colspan="3" bgcolor="#f2f2f2"><textarea name="aa" cols="66" rows="3" class="form"></textarea></td> </tr> <tr> <td width="25%" bgcolor="#f2f2f2"> Not / Mesaj : </td> <td width="75%" colspan="3" bgcolor="#f2f2f2"><textarea name="m" cols="66" rows="2" class="form"></textarea></td> </tr> <tr> <td width="25%" bgcolor="#f2f2f2"> </td> <td width="75%" colspan="3" bgcolor="#f2f2f2"><input src="Resimler/GonderForm.jpg" type="image" value="E_Posta" id="submit" name="submit" border="0" hspace="1"></td> </tr> </form> ************************************************** ************* ASP DOSYASI: <script language="JavaScript"> <!-- function openWin(theURL,winName,features) { window.open(theURL,winName,features); } //--> </script> <script type="text/javascript"> var omitformtags=["input", "textarea", "select"] omitformtags=omitformtags.join("|") function disableselect(e){ if (omitformtags.indexOf(e.target.tagName.toLowerCase ())==-1) return false } function reEnable(){ return true } if (typeof document.onselectstart!="undefined") document.onselectstart=new Function ("return false") else{ document.onmousedown=disableselect document.onmouseup=reEnable } </script> <script language=JavaScript> <!-- var message=""; function clickIE() {if (document.all) {(message);return false;}} function clickNS(e) {if (document.layers||(document.getElementById&&!docum ent.all)) { if (e.which==2||e.which==3) {(message);return false;}}} if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document. onmousedown=clickNS;} else{document.onmouseup=clickNS;document.oncontext menu=clickIE;} document.oncontextmenu=new Function("return false") // --> </script> <script> function hidestatus(){ window.status='' return true } if (document.layers) document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) document.onmouseover=hidestatus document.onmouseout=hidestatus </script> </head> <body> <table width="95%" Height="300" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td class="Beyaz" align="center"> <% Dim stre stre=Request.Form("eposta") CONST SMTPServer = "posta.ihlas.net.tr" CONST cdoURL = "http://schemas.microsoft.com/cdo/configuration/" CONST FromAddress = "emir.okke@fikirevim.com" CONST FromName = "AVRUPA KONAKLARI" CONST ToAddress = "emir.okke@fikirevim.com" CONST ToName = "INFO" CONST Subject = "Başvuru Formu" htmlbody = "<html>" htmlbody = htmlbody & "<head>" htmlbody = htmlbody & "<title>HTML Email</title>" htmlbody = htmlbody & "</head>" htmlbody = htmlbody & "<body>" htmlbody = htmlbody & "<table width='500' border='1' align='center' cellpadding='3' cellspacing='1' bordercolor='#F4F4F4'>" htmlbody = htmlbody & "<tr><td colspan='2' bgcolor='#eeeeee'><div align='center'><font size='2' face='Georgia' color='#666666'><strong>ONLINE</strong> - BAŞVURU FORMU</font></div></td></tr>" htmlbody = htmlbody & "<tr><td colspan='2' bgcolor='#eeeeee'><div align='center'><font size='2' face='Georgia' color='#666666'>Gönderilme Tarihi : <strong> " & Now() & " </strong></font></div></td></tr>" htmlbody = htmlbody & "<tr><td width='125' bgcolor='#fbfbfb'><div align='left'><font size='2' face='Georgia' color='#666666'>"& stra &"</font></div></td><td width='400'><font size='2' color='#666666'' face='georgia'>" & stra & " " & strs &"</font></td></tr>" htmlbody = htmlbody & "<tr><td width='125' bgcolor='#fbfbfb'><div align='left'><font size='2' face='Georgia' color='#666666'>Telefon :</font></div></td><td width='400'><font size='2' color='#666666' face='georgia'>" & strt & "</font></td></tr>" htmlbody = htmlbody & "<tr><td width='125' bgcolor='#fbfbfb'><div align='left'><font size='2' face='Georgia' color='#666666'>GSM :</font></div></td><td width='400'><font size='2' color='#666666' face='georgia'>" & strg & "</font></td></tr>" htmlbody = htmlbody & "<tr><td width='125' bgcolor='#fbfbfb'><div align='left'><font size='2' face='Georgia' color='#666666'>Eposta Adresi :</font></div></td><td width='400'><font size='2' color='#666666' face='georgia'>" & stre & "</font></td></tr>" htmlbody = htmlbody & "<tr><td width='125' bgcolor='#fbfbfb'><div align='left'><font size='2' face='Georgia' color='#666666'>Doğum Tarihi :</font></div></td><td width='400'><font size='2' color='#666666' face='georgia'>" & strd & "</font></td></tr>" htmlbody = htmlbody & "<tr><td colspan='2' bgcolor='#fbfbfb'><div align='center'><font size='2' face='Georgia' color='#666666'><strong>Adres :</strong></font></div></td></tr>" htmlbody = htmlbody & "<tr><td colspan='2' bgcolor='#fbfbfb'><div align='center'><font size='2' face='Georgia' color='#666666'>" & straa & "</font></div></td></tr>" htmlbody = htmlbody & "<tr><td colspan='2' bgcolor='#fbfbfb'><div align='center'><font size='2' face='Georgia' color='#666666'><strong>Mesaj / Not :</strong></font></div></td></tr>" htmlbody = htmlbody & "<tr><td colspan='2' bgcolor='#fbfbfb'><div align='center'><font size='2' face='Georgia' color='#666666'>" & strm & "</font></div></td></tr>" htmlbody = htmlbody & "</table>" htmlbody = htmlbody & "<div align='center'><br>" htmlbody = htmlbody & "<font size='2' face='georgia' color='#666666'>" htmlbody = htmlbody & "Gönderen Kişinin IP Numarası :" & Request.ServerVariables("REMOTE_ADDR") htmlbody = htmlbody & "</font>" htmlbody = htmlbody & "</div>" htmlbody = htmlbody & "</body>" htmlbody = htmlbody & "</html>" set cdoM = CreateObject("CDO.Message") set cdoC = CreateObject("CDO.Configuration") Set cdoF = cdoC.Fields With cdoF .Item(cdoURL & "sendusing") = 2 .Item(cdoURL & "smtpserver") = SMTPServer .Item(cdoURL & "smtpconnectiontimeout") = 10 .Update End With With cdoM Set .Configuration = cdoC .From = FromAddress .To = ToAddress .Subject = Subject .HTMLBody = htmlbody .bodyPart.Charset = "windows-1254" .Send End With Set cdoM = Nothing Set cdoS = Nothing Set cdoF = Nothing %> <font class="Beyaz">Sayın; <%= stra %> <strong><%= strs %></strong>, |
|
|
|
![]() |
| Şu Anda Konuyu İnceleyen Aktif Kullanıcılar: 1 (0 üye ve 1 misafir) | |
| Konu Araçları | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
| acil yardım | x.l.m.n | Yeni Üyeler İçin Tanışma ve Kaynaşma Bölümü | 4 | 15.09.2007 20:18 |
| acil yardım pls !!! | GiovaneArma | Donanım | 1 | 14.09.2007 00:01 |
| çoooook önemliiiii... | gulyuzlu69 | Sohbet Programları | 1 | 18.06.2007 01:29 |
| çok acil yardım | Blue Night | Donanım | 4 | 27.04.2007 21:39 |
| acil yardım | Blue Night | Genel | 0 | 12.04.2007 22:03 |