bBBOARDv2 About UsOrderingTerms/PrivacyManualsSupportFeaturesDemo
Client Login
Welcome to bbBOARD!

NAME

Backend/Func/CleanTextBox.pm - Remove special chars


DESCRIPTION

This function replaces special characters with textbox-friendly ones, ensuring that HTML and other special code is displayed inside a text box, rather than causing HTML spillage.


USAGE

    my $string = $self->CleanTextBox($string);

Example

    my $cont = $self->_param('cont');
    $ret .= qq~<input type=text value="~ . $self->CleanTextBox($cont) . qq~" />~;
 
bbBOARD
© Copyright 2003-2004 bbNetwork Ltd