Sanitation::xss_clean

Sanitation::xss_clean — Secures the data for output, so it doesn't mess up your forms and such. It's equivalent to htmlspecialchars (stripslashes ($data)).

Description

public mixed Sanitation::xss_clean ( string $data )

Parameters

  1. data
    The data to be cleansed.

Return Values

$data

sanitation/xss_clean.txt · Last modified: 2010/07/21 04:41 by davids
Back to top
CC Attribution-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0