Code:
sub HtmlFilter
{
local($filter) = @_;
#
# The following filters the HTML images
# out, if they are disallowed. The code
# after this, filters out all HTML if it
# is disallowed.
#
if ($no_html_images eq "off")
{
$filter =~ s/<(IMG\s*SRC.*)>/<$1>/ig;
} # End of parsing out no images
if ($no_html eq "on")
{
$filter =~ s/<([^>]+)>/\<$1>/ig;
} # End of No html
$filter;
Is there a way to toggle the $no_html_images on and off?
Code:
</TR>
<TR>
<TD ALIGHT=RIGHT>Pic on or off:</TD>
<TD><select size=1 name=no_html_images>
<option selected value=ON>ON</option>
<option value=OFF>OFF</option>
</select></TD>
I tryed it this way no luck
MA WarGod
I believe if someone can think it, it can be programmed