note 61584 added to ref.mail
| From: | seidl at euromise dot com | Date: | Tue, 07 Feb 2006 10:33:44 +0000 |
| Subject: | note 61584 added to ref.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-103180@lists.php.net to get a copy of this message | ||
In reaction to Anton_at_Basehost (05-Feb-2006 12:53):
This workaround is really smart, anyway in your function _local_replace_bad($value) is small
programming error.
In case $value is not problematic, function returns stripped value causing problems in same scripts
of our clients. I corrected 3 lines:
-----
function _local_replace_bad($value_orig) {
-----
$value = stripslashes($value_orig);
-----
} # if suscpect found
else { $value = $value_orig;} # this line to correct
return($value);
}
-----
Libor Seidl
EuroMISE s.r.o.
Czech Republic
----
Server IP: 64.246.30.37
Probable Submitter: 62.168.15.209
----
Manual Page -- http://www.php.net/manual/en/ref.mail.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+61584
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61584&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61584&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61584&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61584&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61584&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61584&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61584&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+61584&report=yes
Search -- http://master.php.net/manage/user-notes.php