Advertisement
ASP_Volume2 Debugging and Error Handling #41981

Stop New Spam with ASP

This code takes a submitted email address/string and converts it to standardized ASCII Character codes, thus blocking bots/spiders from reading your email address, while yet allowing visitors to continue to read and use your proper address via mailto links, etc

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
Function ASCIICode(strInput)
  strOutput = ""
  For i = 1 To Len(strInput)
    strOutput = strOutput & "&#" & ASC(Mid(strInput, i, 1)) & ";"
  Next
  ASCIICode = strOutPut
End Function
Commenti originali (3)
Recuperato da Wayback Machine