Glossary Term
antispambot()
antispambot() — Obscures email addresses in HTML to prevent spam bots from harvesting them. Typically this will randomly replace characters from the email address with HTML character references; however, when the hex encoding parameter is set, some characters will also be represented in their percent-encoded form. Because this function is randomized, the outputs for any given input may differ between calls. This helps diversify the ways the email addresses are obscured. When non-UTF-8 inputs are provided, any spans of invalid UTF-8 bytes will be passed through without any obfuscation. Example: $email = ‘noreply
Inputs: $email_address (string): Email address. $hex_encoding (int): Optional. Set to 1 to enable hex encoding.
Returns string: Converted email address.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
