CPG-Nuke source documentation ⇒ CPG Dragonfly™ CMS
Files - Classes
  includes/cmsinit.inc
includes
properties
functions
check_html

void check_html(string $str, string $strip)

This function doesn't exists anymore.
If you want to prepare a string for the database then use Fix_Quotes()

Arguments

  • $str

    the string to strip

  • $strip [optional, default value = ""]

    if $strip = 'nohtml' it strips all tags. When no value is given it uses the $AllowableHTML array from config.php