CAYBURG.NET
Webmaster Çözümleri Webmaster Araçları, Forum Kurulumu, Para Kazanma, Google Reklamları, Programlama Dilleri, Web Tasarımı-Webmaster Çözümleri. Webmasterlar Için Çözümler, Yeni Başlayanlara Tavsiyeler, Programlama Dilleri, Arama Motoru Ipuçları Gibi Bilgilere Ulaşabilir, Paylaşım Yapabilirsiniz.
Cevapla
ASP Notlar Bu konu 133 defa okundu ve 9 yorum yazildi.
 
Seçenekler
Alt 15.04.2008, 21:27 #1
Ilkokul 1. Sinif

Post ASP Notlar


ASP kullanıcıları için okulda ve internette bulduğum veya kendi yazdığım basit kullanışlı kodları paylaşağım...

Umarım yararı olur sizlere....



Güvenlik Kodu Oluşturma
Kod:
Public Function SecurityCode(Number)
 
  strList = Array("1","2","3","4","5","6","7","8","9","0","Q","w","E","R","t","y","u","I","O","P","a","s","d","f","G","H","J","K","L","z","X","c","V","B","N","M")
  intList = uBound(strList)
   Randomize
    For nN = 0 To Number
     xX = Int((intList* Rnd) + 1)
     KeyValues = KeyValues & strList(xX)
    Next
    
   SecurityCode = KeyValues
   
 End Function
Kullanımı
HTML-Kodu:
<% SecurityCode 4 ' 5 haneli random şifre üretir. %>

Alt 15.04.2008, 21:34 #2
Ilkokul 1. Sinif

Standart Gmail hesabınızı kullanrak mail gönderme...


Gmail hesabını kullanarak mail gönderme
HTML-Kodu:
<% 
Dim iMsg, iConf, Flds 
Set iMsg = CreateObject("CDO.Message" ) 
Set iConf = CreateObject("CDO.Configuration" ) 
Set Flds = iConf.Fields 
schema = "http://schemas.microsoft.com/cdo/configuration/" 
Flds.Item(schema & "sendusing" ) = 2 
Flds.Item(schema & "smtpserver" ) = "smtp.gmail.com" 
Flds.Item(schema & "smtpserverport" ) = 465 
Flds.Item(schema & "smtpauthenticate" ) = 1 
Flds.Item(schema & "sendusername" ) = "[Üye Özel | Für Mitglieder | For Members]" 
Flds.Item(schema & "sendpassword" ) = "g_mail_şifreniz" 
Flds.Item(schema & "smtpusessl" ) = 1 
Flds.Update 
With iMsg 
.To = emailaddr '//mail yollanacak adresi,forumdan aldınız 
.From = "Ad Soyad <hesabiniz@siteadınız.com>" 
.Subject = "E-Posta Konusu" 'bir konu giriniz 
.HTMLBody = request.form("mesaj" ) 'mesajı formla alınız...
.Sender = "Adiniz" 
.Organization = "Siteniz" 
.ReplyTo = "yanitla_dediğinde@gönderrilecek_mail_adresiniz.com" 
Set .Configuration = iConf 
SendEmailGmail = .Send 
End With 
set iMsg = nothing 
set iConf = nothing 
set Flds = nothing 
%>
Alt 16.04.2008, 20:33 #3
Ilkokul 1. Sinif
Bir form da birden fazla buton kullanmak...

HTML-Kodu:
<script language="vbscript" runat="server">
with response
.write "<form action="""" method=""post"" id=""mesajyaz"">"
.write "Mesajınız:<br><textarea name=""mesaj"" cols=""30"" rows=""6""></textarea>"
.write "<br>"
.write "<button onclick=""mesajyaz.action='?onizleme'; mesajyaz.submit();"">Önizleme</button>"
.write "<button onclick=""mesajyaz.action='?gonder'; mesajyaz.submit();"">Gönder</button>"
.write "</form>"
end with
sayfa=request.querystring
if len(sayfa) then
if sayfa="onizleme" then
response.write "<hr>Sayfa Önizlemesi: <br> " & request.form("mesaj")
else
response.write "<hr>Kayıt Edildi..."
end if
end if
</script> 
Alt 16.04.2008, 20:35 #4
Ilkokul 1. Sinif
serverınızdaki bileşenleri görmek için...

HTML-Kodu:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1254"%>
<% 
    '// Telif: Fabricioc 
 
    Dim aComponents(68 ) 
    aComponents(1 ) = "ADODB.Command" 
    aComponents(2 ) = "ADODB.Connection" 
    aComponents(3 ) = "ADODB.Recordset" 
    aComponents(4 ) = "ADODB.Stream" 
    aComponents(5 ) = "ADOX.Catalog" 
    aComponents(6 ) = "AspDNS.Lookup" 
    aComponents(7 ) = "ASPExec.Execute" 
    aComponents(8 ) = "AspHTTP.Conn" 
    aComponents(9 ) = "AspImage.Image" 
    aComponents(10 ) = "AspMX.Lookup" 
    aComponents(11 ) = "AspNNTP.Conn" 
    aComponents(12 ) = "AspPing.Conn" 
    aComponents(13 ) = "AspSock.Conn" 
    aComponents(14 ) = "CDO.MESSAGE" 
    aComponents(15 ) = "CDONTS.NewMail" 
    aComponents(16 ) = "Dundas.Mailer" 
    aComponents(17 ) = "Dundas.PieChartServer" 
    aComponents(18 ) = "Dundas.PieChartServer.2" 
    aComponents(19 ) = "Dundas.Upload" 
    aComponents(20 ) = "Dundas.Upload.2" 
    aComponents(21 ) = "Dundas.UploadProgress" 
    aComponents(22 ) = "ECHOCom.Echo" 
    aComponents(23 ) = "GuidMakr.GUID" 
    aComponents(24 ) = "ImgSize.Check" 
    aComponents(25 ) = "ixsso.Query" 
    aComponents(26 ) = "ixsso.Util" 
    aComponents(27 ) = "JMAil.Message" 
    aComponents(28 ) = "JMail.POP3" 
    aComponents(29 ) = "JMail.SMTPMail" 
    aComponents(30 ) = "JRO.JetEngine" 
    aComponents(31 ) = "Microsoft.DiskQuota.1" 
    aComponents(32 ) = "microsoft.XMLDOM" 
    aComponents(33 ) = "Microsoft.XMLHTTP" 
    aComponents(34 ) = "MSWC.AdRotator" 
    aComponents(35 ) = "MSWC.BrowserType" 
    aComponents(36 ) = "MSWC.ContentRotator" 
    aComponents(37 ) = "MSWC.Counters" 
    aComponents(38 ) = "MSWC.IISLog" 
    aComponents(39 ) = "MSWC.MyInfo" 
    aComponents(40 ) = "MSWC.MyInfo" 
    aComponents(41 ) = "MSWC.NextLink" 
    aComponents(42 ) = "MSWC.PageCounter" 
    aComponents(43 ) = "MSWC.PermissionChecker" 
    aComponents(44 ) = "MSWC.Status" 
    aComponents(45 ) = "MSWC.Tools" 
    aComponents(46 ) = "MSXML.DomDocument" 
    aComponents(47 ) = "MSXML2.DOMDocument" 
    aComponents(48 ) = "MSXML2.DOMDocument.3.0" 
    aComponents(49 ) = "Msxml2.FreeThreadedDOMDocument.3.0" 
    aComponents(50 ) = "MSXML2.ServerXMLHTTP" 
    aComponents(51 ) = "MSXML2.ServerXMLHTTP.3.0" 
    aComponents(52 ) = "MSXML2.XSLTemplate" 
    aComponents(53 ) = "Persits.Grid" 
    aComponents(54 ) = "Persits.Jpeg" 
    aComponents(55 ) = "Persits.MailSender" 
    aComponents(56 ) = "Persits.Upload" 
    aComponents(57 ) = "Persits.Upload.1" 
    aComponents(58 ) = "Persits.UploadProgress" 
    aComponents(59 ) = "POP3svg.Mailer" 
    aComponents(60 ) = "Scripting.Dictionary" 
    aComponents(61 ) = "Scripting.FileSystemObject" 
    aComponents(62 ) = "Scriptlet.TypeLib" 
    aComponents(63 ) = "SMTPsvg.Mailer" 
    aComponents(64 ) = "SOFTWING.AspTear" 
    aComponents(65 ) = "VBScript.RegExp" 
    aComponents(66 ) = "WinHttp.WinHttpRequest.5.1" 
    aComponents(67 ) = "WScript.Network" 
    aComponents(68 ) = "WScript.Shell" 
    Response.write("Yüklü Bilesenler:<BR><BR>" ) 
    On Error Resume Next 
    For i=1 To Ubound(aComponents ) 
       
    Set obj = Server.CreateObject(aComponents(i ) ) 
    if err.number = 0 Then 
    Set obj = nothing 
    Response.write(aComponents(i ) & "<BR>" ) 
    End if 
    err.clear 
    next 
    %>
Alt 16.04.2008, 20:47 erkangungor - MSN üzeri Mesaj gönder #5
Silver Members
Teşekkür Ederim Arkadaşım Paylaşım İçin . Emeğine Sağlık
Alt 30.04.2008, 12:44 #6
Anaokulu
Güvenlik kodu oluşturmayı yanlış yazmışsın kullanımı alttaki gibi olur

<% = SecurityCode (4) %>

Alt 13.05.2008, 12:45 #7
Ilkokul 6. Sinif
asp sisteminin temel calisma fonksiyonlari nelerdir ???
Alt 01.09.2008, 20:26 #8
Lise 2. Sinif
Bende tam bi asp meraklısıyım gerçekten mükemmel bir paylaşım.Teşkkür eederiz..Selam vee dua İle..
Alt 12.09.2008, 06:54 #9
Lise 1. Sinif
teşekkürler...
Alt 20.09.2008, 22:35 #10
Üniversite 4. Sinif
tesekkürler elleirn dert görmesin
Cevapla

Etiketler
asp, güvenlik kodu

Seçenekler

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB Kodlari Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı
Trackbacks are Kapalı
Pingbacks are Kapalı
Refbacks are Kapalı


Benzer Konular
Konu Konuyu Başlatan Forum Cvp Son Mesaj
Maçtan notlar Göçmen Spor Konulari Arsivi 0 18.04.2009 01:53
Maçtan Notlar kaan4326 Spor Konulari Arsivi 2 08.06.2008 00:57
Maçtan notlar kivancburcu Spor Konulari Arsivi 0 01.03.2008 20:51
Maçtan notlar Kalender_aga Spor Konulari Arsivi 0 25.11.2007 00:46

WEZ Format +2. Şuan Saat: 09:36.
Cayburg - Arşiv - Top - Iyiler - Web Stats
Rapidshare Uploaded.to Uptal.com Upshare.NET Filefactory.com Videolari, Video izle Fun, Fan Anket WinRAR | File Hosting Free Kurd Radyo Dinle Bedava Albüm Indir Yeni Albüm Albüm Paylasim .Net .Org
Powered by vBulletin® Version 3.8.1 Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197