Class THttpUtility
THttpUtility class
Package: System\Web
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Web/THttpUtility.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Web/THttpUtility.php
public static
string
|
#
htmlEncode( string $s )
HTML-encodes a string. This method translates the following characters to their corresponding HTML entities: <, >, " Note, unlike htmlspecialchars, & is not translated. |
public static
string
|
|
public static
string
|
#
htmlStrip( string $s )
This method strips the following characters from a string: HTML entities: <, >, " |