by Luis Mariscal (11 Submissions)
Category: Internet/HTML
Compatability: VB.NET
Difficulty: Unknown Difficulty
Originally Published: Sun 30th August 2009
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This code encrypt Emails for put into webpage and prevents SPAM -convert to hexadecinal Sample: [email protected] convert to : Web
API Declarations
Public df
Public result
'Create the following:
'Text1
'Text2
'Text3
'Text4
'command1 button
Private Sub Command1_Click()
Dim i
Text2 = ""
Text3 = ""
Text4 = ""
For i = 1 To Len(Text1)
df = Mid$(Text1, i, 1)
result = Asc(df)
'm
Text2 = Text2 & "&#" & result & ";"
Next
For i = 1 To Len(Text1)
df = Mid$(Text1, i, 1)
result = Asc(df)
Text3 = Text3 & " & chr(" & result & ") & "
Next
Text3 = Replace(Text3, ") &", ")")
Text3 = Mid(Text3, 4, Len(Text3))
For i = 1 To Len(Text1)
df = Mid$(Text1, i, 1)
result = Hex$(Asc(df))
Text4 = Text4 & result
Next
End Sub
No comments have been posted about This code encrypt Emails for put into webpage and prevents SPAM -convert to hexadecinal Sample: inf. Why not be the first to post a comment about This code encrypt Emails for put into webpage and prevents SPAM -convert to hexadecinal Sample: inf.