CAYBURG.COM
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 104 defa okundu ve 9 yorum yazildi.
 
Seçenekler
Alt 15.04.2008, 22:27   #1
_KajmeraN_
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. %>
_KajmeraN_ isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 15.04.2008, 22:34   #2
_KajmeraN_
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" ) = "hesabiniz@gmail.com" 
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 
%>
_KajmeraN_ isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 16.04.2008, 21:33   #3
_KajmeraN_
Ilkokul 1. Sinif
Standart

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> 
_KajmeraN_ isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 16.04.2008, 21:35   #4
_KajmeraN_
Ilkokul 1. Sinif
Standart

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 
    %>
_KajmeraN_ isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
_KajmeraN_, Tesekkür Edenler:
Alt 16.04.2008, 21:47   #5
Bay erkangungor
Silver Members
Standart

Teşekkür Ederim Arkadaşım Paylaşım İçin . Emeğine Sağlık
erkangungor isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 30.04.2008, 13:44   #6
mantris12
Anaokulu
Standart

Güvenlik kodu oluşturmayı yanlış yazmışsın kullanımı alttaki gibi olur

<% = SecurityCode (4) %>

mantris12 isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 13.05.2008, 13:45   #7
Bay cengiz46
Bronze Members
Standart

asp sisteminin temel calisma fonksiyonlari nelerdir ???
cengiz46 isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 01.09.2008, 21:26   #8
Bay __yabanci__
Bronze Members
Standart

Bende tam bi asp meraklısıyım gerçekten mükemmel bir paylaşım.Teşkkür eederiz..Selam vee dua İle..
__yabanci__ isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 12.09.2008, 07:54   #9
hayalet18
Bronze Members
Standart

teşekkürler...
hayalet18 isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Alt 20.09.2008, 23:35   #10
Bay MUTSUZ_KRAL
Gold Members
Standart

tesekkürler elleirn dert görmesin
MUTSUZ_KRAL isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Cevapla

Etiket
asp, güvenlik kodu


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler

Yetkileriniz
Yeni Mesaj yazma yetkiniz Aktif değil dir.
Mesajlara Cevap verme yetkiniz aktif değil dir.
Eklenti ekleme yetkiniz Aktif değil dir.
Kendi Mesajınızı değiştirme yetkiniz Aktif değildir dir.

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

Benzer Konular
Konu Konuyu Başlatan Forum Cvpl Son Mesaj
Maçtan Notlar kaan4326 Spor Konulari Arsivi 2 08.06.2008 01:57
Yeraltından Notlar - Dostoyevski hüzünbaz E-Kitap 6 15.05.2008 21:38
Maçtan notlar kivancburcu Spor Konulari Arsivi 0 01.03.2008 21:51
Akşam İdmanından Notlar kaan4326 Spor Konulari Arsivi 0 22.01.2008 23:20
Maçtan notlar Kalender_aga Spor Konulari Arsivi 0 25.11.2007 01:46

Paylaşmak Özgürlüktür - Arşiv - Yukarı git Web Stats TOPlist
File Hosting Free Kurd Radyo Dinle Bedava Albüm Vaylo Yeni Albüm Albüm Paylasim
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
Powered by vBulletin® Version 3.7.4 ©2000 - 2008, Jelsoft Enterprises Ltd.
Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 12:03 .